<?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; Rahul Verma</title>
	<atom:link href="https://www.emblogic.com/blog/author/rahulvermag4/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>Create A new Release and Branch in RCS</title>
		<link>https://www.emblogic.com/blog/01/create-a-new-release-and-branch-in-rcs/</link>
		<comments>https://www.emblogic.com/blog/01/create-a-new-release-and-branch-in-rcs/#comments</comments>
		<pubDate>Fri, 01 Jan 2016 07:09:59 +0000</pubDate>
		<dc:creator><![CDATA[Rahul Verma]]></dc:creator>
				<category><![CDATA[Project 1: A Linux Administration based Project]]></category>
		<category><![CDATA[Project Management Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=13103</guid>
		<description><![CDATA[RCS is a Revision Control System. It manages changes in text documents, automating the storage, retrieval, logging, and logging of file revisions. &#160; &#160; &#160; &#160; In the  image there is a RCS -Tree which have  following parts: One Branch : &#8230; <a href="https://www.emblogic.com/blog/01/create-a-new-release-and-branch-in-rcs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>RCS </strong>is a<strong> Revision Control System</strong>. It manages changes in text documents, automating the storage, retrieval, logging, and logging of file revisions.</p>
<p><strong><a href="http://www.emblogic.com/blog/wp-content/uploads/2016/01/Screenshot-from-2016-01-01-1120321.png"><img class="alignleft wp-image-13107 size-full" src="http://www.emblogic.com/blog/wp-content/uploads/2016/01/Screenshot-from-2016-01-01-1120321.png" alt="RCS Tree with A branch and Two releases" width="583" height="144" /></a></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>In the  image there is a RCS -Tree which have  following parts:</strong></p>
<p><strong>One Branch :</strong> 1.3.1.1  and this branch is originated from 1.3</p>
<p><strong>Two releases :</strong> 1.x.x.x and 2.x</p>
<p>##########- <strong>STEPS FOR BRANCHING IN THE RCS TREE</strong> -#############</p>
<p>&#8211;&gt;&gt;    In already existing rcs tree, <strong>check the revision</strong>s by<br />
using &#8216;<strong>rlog filename.c,v</strong>&#8216; .</p>
<p>&#8211;&gt;&gt;    Chose a revision to branch , and <strong>check-out its editable</strong><br />
<strong>             version.</strong><br />
i.e,<br />
<strong> co -l1.3 filename.c,v</strong></p>
<p>&#8211;&gt;&gt;    Now <strong>make changes</strong> into the file and <strong>check it in</strong> the tree<br />
<strong>with</strong>  the particular <strong>branch Number</strong>,<br />
i.e,<br />
<strong>ci -r1.3.1 filename.c</strong></p>
<p>&#8211;&gt;&gt;    Hence it will <strong>create first revision </strong>of<strong> branch 1.3.1</strong><br />
i.e,<br />
<strong>version- 1.3.1.1</strong>    (1st Rev. of branch 1.3.1)</p>
<p>&#8211;&gt;&gt;    You also can <strong>create New Release</strong> for your Project, simply<br />
by using Release No.<br />
i.e,<br />
<strong>ci -r2 filename.c</strong></p>
<p>&#8211;&gt;&gt;    Hence it will create Second revision of RCS-Tree<br />
i.e,<br />
<strong>version- 2.1    (1st Rev. of Release 2)</strong></p>
<p>&#8211;&gt;&gt;  <strong>  You should refer to the above image while reading this for better</strong><br />
<strong>           understanding.</strong></p>
<p>######################################################</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/create-a-new-release-and-branch-in-rcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the behavior of Pipe using funtion- &#8216;fcntl()&#8217;</title>
		<link>https://www.emblogic.com/blog/12/changing-the-behavior-of-pipe-using-funtion-fcntl/</link>
		<comments>https://www.emblogic.com/blog/12/changing-the-behavior-of-pipe-using-funtion-fcntl/#comments</comments>
		<pubDate>Wed, 16 Dec 2015 06:44:39 +0000</pubDate>
		<dc:creator><![CDATA[Rahul Verma]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=13026</guid>
		<description><![CDATA[The pipe() system call is used to create a pipe which returns two file-descriptors; one for read and one for write. If pipe is empty, then reader waits until data is available to read from the pipe which is termed &#8230; <a href="https://www.emblogic.com/blog/12/changing-the-behavior-of-pipe-using-funtion-fcntl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The <strong>pipe()</strong> system call is used to create a pipe which returns two file-descriptors; <strong>one for read</strong> and <strong>one for write</strong>. If <strong>pipe is empty</strong>, then reader waits until data is available to read from the pipe which is termed as <strong>Block-On-Read.</strong></p>
<p>But we can change this behaviour by using <strong>fcntl()</strong> funtion as follows;</p>
<p><strong>fcntl</strong>(<strong>rfd</strong>, <strong>F_SETFL</strong>, <strong>O_NONBLOCK</strong>);</p>
<p>Here,</p>
<p><strong> rfd</strong> =Read File Descriptor given by pipe() call,</p>
<p><strong>F_SETFL</strong> = It tells fcntl() what to do with rfd,</p>
<p><strong>O_NONBLOCK</strong> = Set the read flags associated with rfd so as to perfrom Non-Block Read.</p>
<p>Here&#8217;s also another way which is &#8216;<strong>pipe2()&#8217;</strong> system call. Which quite easy <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley" /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/12/changing-the-behavior-of-pipe-using-funtion-fcntl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
