<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naskin</author_name>
  <author_url>https://blog.hatena.ne.jp/naskin/</author_url>
  <blog_title>We All Get Old - Naskin Diary</blog_title>
  <blog_url>https://naskin-diary.hatenablog.com/</blog_url>
  <categories>
    <anon>八苦(Hack)</anon>
  </categories>
  <description>カウントダウンしながらsleepするヴィジュアル系なのに地味なデバッグ用ユーティリティ関数vsleepを更新。 変更点 「#define DEBUG」されていたときだけカウントダウンし、そうでない場合は普通の sleep の動作をするように変更。 これでデバッグ中はスリープの残り時間がわかり、「#define DEBUG」を外せば何も表示されなくなる(C言語だから再コンパイルが必要だけど)。 例 「#define DEBUG」とされているヘッダファイルをvsleep.hでもインクルードする。 ここでは「#include &quot;sample.h&quot;」。 vsleep.h #include &lt;stdio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaskin-diary.hatenablog.com%2Fentry%2F20100210%2F1265790850&quot; title=&quot;Update：ヴィジュアル系sleep関数 - vsleep(C言語) - We All Get Old - Naskin Diary&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>2010-02-10 17:34:10</published>
  <title>Update：ヴィジュアル系sleep関数 - vsleep(C言語)</title>
  <type>rich</type>
  <url>https://naskin-diary.hatenablog.com/entry/20100210/1265790850</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
