<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazuokohchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kazuokohchi/</author_url>
  <blog_title>tail -f /var/log/こうちかずお.log</blog_title>
  <blog_url>https://kohchi.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>use IO::File; # &quot;w&quot; or &quot;&gt; $f&quot; my $fh = IO::File-&gt;new($f, O_WRONLY|O_TRUNC|O_CREAT|O_SYNC, 0644) or die &quot;Can not open $f: $!\n&quot;; print $fh .... ; $fh-&gt;close; O_SYNCはOSによって違うかもしれない(LinuxはO_SYNC。これはopen(2)を参照)。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkohchi.hatenablog.com%2Fentry%2F20061121%2F1164099640&quot; title=&quot; IO::Fileでの同期制御 - tail -f /var/log/こうちかずお.log&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>2006-11-21 18:00:40</published>
  <title> IO::Fileでの同期制御</title>
  <type>rich</type>
  <url>https://kohchi.hatenablog.com/entry/20061121/1164099640</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
