<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kubo39</author_name>
  <author_url>https://blog.hatena.ne.jp/kubo39/</author_url>
  <blog_title>kubo39's blog</blog_title>
  <blog_url>https://kubo39.hatenablog.com/</blog_url>
  <categories>
    <anon>D言語</anon>
  </categories>
  <description>DMD 2.067.0 で地味にインラインアセンブラで syscall 命令がサポートされたので、それを軽くラップするようなライブラリを書いてみました。 https://github.com/kubo39/syscall.d コード例: import syscall : syscall, WRITE; void main() { string buf = &quot;Hello\n&quot;; syscall(WRITE, 1, cast(ulong) buf.ptr, cast(ulong) buf.length); } 今のところ x86_64 Linux しかサポートしていません。今後他のプラットフォーム…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkubo39.hatenablog.com%2Fentry%2F2015%2F04%2F18%2F124849&quot; title=&quot;Raw syscall for D. - kubo39&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-04-18 12:48:49</published>
  <title>Raw syscall for D.</title>
  <type>rich</type>
  <url>https://kubo39.hatenablog.com/entry/2015/04/18/124849</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
