<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Soul Of Free Loop &#187; lockf</title>
	<atom:link href="https://m.zohead.com/archives/tag/lockf/feed/?wpmp_switcher=true" rel="self" type="application/rss+xml" />
	<link>https://m.zohead.com</link>
	<description>Uranus Zhou&#039;s Blog</description>
	<lastBuildDate>Sat, 19 Jul 2025 15:42:46 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8</generator>
	<item>
		<title>Linux下fcntl实现建议锁和强制锁</title>
		<link>https://m.zohead.com/archives/linux-fcntl-advisory-mandatory-lock/</link>
		<comments>https://m.zohead.com/archives/linux-fcntl-advisory-mandatory-lock/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 17:17:31 +0000</pubDate>
		<dc:creator><![CDATA[Uranus Zhou]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[fcntl]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[lockf]]></category>
		<category><![CDATA[建议锁]]></category>
		<category><![CDATA[强制锁]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://zohead.com/?p=78</guid>
		<description><![CDATA[近日小温下APUE，发现Linux下的 fcntl 实现强制锁的功能好像都没试验过，简单做个测试。 首先用 f [&#8230;]]]></description>
				<content:encoded><![CDATA[近日小温下APUE，发现Linux下的 fcntl 实现强制锁的功能好像都没试验过，简单做个测试。   首先用 fcntl 实现建议锁（Advisory locking），比较简单，贴个最简单的代码：     #include &lt;stdio.h&gt;  #include...<br /><a href="https://m.zohead.com/archives/linux-fcntl-advisory-mandatory-lock/#more-78" class="more-link">更多</a>]]></content:encoded>
			<wfw:commentRss>https://m.zohead.com/archives/linux-fcntl-advisory-mandatory-lock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
