<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>gcc</anon>
  </categories>
  <description>C FAQ 17 printf()を呼び出しているところすべてに、いちいち(void)のキャストを付けているコードを見かけた。なぜこんなことをするのか。 FreeBSD lsのusageより。 void usage(void) { (void)fprintf(stderr, #ifdef COLORLS &quot;usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1]&quot; #else &quot;usage: ls [-ABCFHILPRSTUWZabcdfghiklmnopqrstuwx1]&quot; #endif &quot; [file ...]\n&quot;); exit(1); } …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070418%2F1176824970&quot; title=&quot; 謎の(void)fprintf() - ボクノス&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>2007-04-18 00:49:30</published>
  <title> 謎の(void)fprintf()</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070418/1176824970</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
