<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BG1</author_name>
  <author_url>https://blog.hatena.ne.jp/BG1/</author_url>
  <blog_title>車輪のx発明 ~B.G's Blog~</blog_title>
  <blog_url>https://bg1.hatenablog.com/</blog_url>
  <categories>
    <anon>UNIXシステムコール</anon>
  </categories>
  <description>tm構造体(struct tm)は時刻情報を格納するために使う。Man page of CTIME C言語関数辞典 - tm構造体今回は、tmのメンバであるtm_wdayが、日曜～土曜を0から6の値で表していることを利用し、&quot;Sun&quot;から&quot;Sat&quot;までの文字列配列の添字にtm_wdayを渡すことで、曜日を文字列で出力するようにした。wday_strにtmのtm_wdayを渡している。 $ vi struct_tm.c $ gcc struct_tm.c -o struct_tm $ ./struct_tm 2019/8/7(Wed) 15:42:54 $こうなる。Sample/unixsysc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2019%2F11%2F26%2F210000&quot; title=&quot;tm構造体 - 車輪のx発明 ~B.G&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>2019-11-26 21:00:00</published>
  <title>tm構造体</title>
  <type>rich</type>
  <url>https://bg1.hatenablog.com/entry/2019/11/26/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
