<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>Zig</anon>
  </categories>
  <description>Zig 昨日触りはじめたばかりでまだぜんぜん分かってません。 まずは std.os.argv でコマンドライン引数を取得します。 pkv は確認用のユーティリティ関数で、 print key value のつもり。 // arg_to_i_v1.zig const std = @import(&quot;std&quot;); fn pkv(k: []const u8, v: var) !void { std.debug.warn(&quot;{} ({})\n&quot;, .{k, v}); } pub fn main() !void { try pkv(&quot;std.os.argv&quot;, std.os.argv); try pkv(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2020%2F09%2F20%2F104640&quot; title=&quot;Zig: コマンドライン引数を受け取って整数（i32）に変換する - memo486&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>2020-09-20 10:46:40</published>
  <title>Zig: コマンドライン引数を受け取って整数（i32）に変換する</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2020/09/20/104640</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
