<?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>EmbLogic &#187; arjita.e1</title>
	<atom:link href="https://www.emblogic.com/blog/author/arjita-e1/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>algo for open function</title>
		<link>https://www.emblogic.com/blog/09/algo-for-open-a-device/</link>
		<comments>https://www.emblogic.com/blog/09/algo-for-open-a-device/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 12:28:20 +0000</pubDate>
		<dc:creator><![CDATA[arjita.e1]]></dc:creator>
		
		<guid isPermaLink="false">http://emblogic.org/blog/?p=141</guid>
		<description><![CDATA[1: define a local device. 2: fetch minor no. 2.a: check for errors. 3: assign previously allocated scull_dev to a local scull_dev. 3.a: check for errors. 3.b: cleanup_module();(if minor no. is wrong) 4: check file open in write mode by &#8230; <a href="https://www.emblogic.com/blog/09/algo-for-open-a-device/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>1: define a local device.</p>
<p>2: fetch minor no.</p>
<p>2.a: check for errors.</p>
<p>3: assign previously allocated scull_dev to a local scull_dev.</p>
<p>3.a: check for errors.</p>
<p>3.b: cleanup_module();(if minor no. is wrong)</p>
<p>4: check file open in write mode by &amp;&amp; O_ACCMOD with flags.</p>
<p>4.a: truncate the file.</p>
<p>5: preserve the local device into scull_dev.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/09/algo-for-open-a-device/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
