<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Florian</author_name>
  <author_url>https://blog.hatena.ne.jp/Florian/</author_url>
  <blog_title>Florian’s NewestDiary</blog_title>
  <blog_url>https://florian.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>static local variableのstaticは｢静的メモリ領域におかれた｣という意味です。 C言語においてはブロックの内側で定義されたlocal variableはブロックスコープを外れたときに適宜破棄されるという仕様がありますが、多くはこれをスタックフレームやレジスタで実装しています。 これを何らかの理由でスタックフレームやレジスタにとってほしくないときにstatic修飾子を使います。静的メモリ領域は、大域変数などと同様に、ローダがスタートアップ時にメモリを確保し、エントリポイントに入る前にのみランタイムが初期化を行います。この初期化のタイミングのために、｢ブロックを抜けても値が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflorian.hatenadiary.org%2Fentry%2F20070508%2F1178640756&quot; title=&quot;C言語のstatic(http://d.hatena.ne.jp/propella/20070508/p1) - Florian’s NewestDiary&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-05-08 01:12:36</published>
  <title>C言語のstatic(http://d.hatena.ne.jp/propella/20070508/p1)</title>
  <type>rich</type>
  <url>https://florian.hatenadiary.org/entry/20070508/1178640756</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
