<?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; ruchi.gupta</title>
	<atom:link href="https://www.emblogic.com/blog/author/ruchi-gupta/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>C++ : simple program in linux.</title>
		<link>https://www.emblogic.com/blog/07/c-simple-program-in-linux/</link>
		<comments>https://www.emblogic.com/blog/07/c-simple-program-in-linux/#comments</comments>
		<pubDate>Sun, 20 Jul 2014 19:19:17 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=11201</guid>
		<description><![CDATA[RCS file: ./simple.cpp,v Working file: ./simple.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: printing &#8220;My name is Ruchi&#8221;using string mystring &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.1 date: 2014/06/06 12:46:39; author: root; &#8230; <a href="https://www.emblogic.com/blog/07/c-simple-program-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./simple.cpp,v<br />
Working file: ./simple.cpp<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1; selected revisions: 1<br />
description:<br />
printing &#8220;My name is Ruchi&#8221;using<br />
string mystring<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/06 12:46:39; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/c-simple-program-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Character driver &#8211; initialization and cleanup</title>
		<link>https://www.emblogic.com/blog/06/character-driver-initialization-and-cleanup/</link>
		<comments>https://www.emblogic.com/blog/06/character-driver-initialization-and-cleanup/#comments</comments>
		<pubDate>Fri, 20 Jun 2014 11:05:57 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Character Driver]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10575</guid>
		<description><![CDATA[RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: include the header files for module_exit() and for module_init() also include the license &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision &#8230; <a href="https://www.emblogic.com/blog/06/character-driver-initialization-and-cleanup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./header.h,v<br />
Working file: ./header.h<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1; selected revisions: 1<br />
description:<br />
include the header files for module_exit()<br />
and for module_init()<br />
also include the license<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/20 11:05:48; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================RCS file: ./init.c,v<br />
Working file: ./init.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1; selected revisions: 1<br />
description:<br />
used module_init() for initialization<br />
used module_exit() for cleanup<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/20 10:58:06; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/character-driver-initialization-and-cleanup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PYTHON-simple program using format()</title>
		<link>https://www.emblogic.com/blog/06/python-simple-program-using-format/</link>
		<comments>https://www.emblogic.com/blog/06/python-simple-program-using-format/#comments</comments>
		<pubDate>Sat, 07 Jun 2014 07:20:04 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Embedded Linux]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10373</guid>
		<description><![CDATA[RCS file: ./hello.py,v Working file: ./hello.py head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: printing &#8220;Hello&#8221; in python successfully done&#8230;..:) &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.5 locked by: root; date: &#8230; <a href="https://www.emblogic.com/blog/06/python-simple-program-using-format/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./hello.py,v<br />
Working file: ./hello.py<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
root: 1.5<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5; selected revisions: 5<br />
description:<br />
printing &#8220;Hello&#8221; in python<br />
successfully done&#8230;..:)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5 locked by: root;<br />
date: 2014/06/07 07:15:09; author: root; state: Exp; lines: +1 -1<br />
again analyzing the format() statement<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/06/07 07:13:14; author: root; state: Exp; lines: +1 -0<br />
now analysing the result when we want to have three<br />
decimal values if any number is divided by any value<br />
successfully obtained<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/06/07 06:42:42; author: root; state: Exp; lines: +3 -0<br />
using format() in which<br />
I am printing name and age<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/06/07 06:37:47; author: root; state: Exp; lines: +1 -0<br />
printing another statement and analyzing that<br />
print statement written in next line<br />
will also print in next line<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/07 06:36:15; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/python-simple-program-using-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Of Class in C++</title>
		<link>https://www.emblogic.com/blog/06/use-of-class-in-c/</link>
		<comments>https://www.emblogic.com/blog/06/use-of-class-in-c/#comments</comments>
		<pubDate>Fri, 06 Jun 2014 14:02:31 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Embedded Linux]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10359</guid>
		<description><![CDATA[RCS file: ./class.cpp,v Working file: ./class.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: Using Class in C++ from the main function I have created the object file to &#8230; <a href="https://www.emblogic.com/blog/06/use-of-class-in-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./class.cpp,v<br />
Working file: ./class.cpp<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
Using Class in C++<br />
from the main function I have created the object file to transfer the data into the public section of the class<br />
and the public section will access the private section of the class<br />
I have entered the values from user into the the public function of C++<br />
successfully written and read<br />
from the public function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/06 14:02:33;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/use-of-class-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple program in c++</title>
		<link>https://www.emblogic.com/blog/06/simple-program-in-c/</link>
		<comments>https://www.emblogic.com/blog/06/simple-program-in-c/#comments</comments>
		<pubDate>Fri, 06 Jun 2014 13:57:18 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Embedded Linux]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10355</guid>
		<description><![CDATA[RCS file: ./simple.cpp,v Working file: ./simple.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: printing &#8220;My name is Ruchi&#8221;using string mystring &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.1 date: 2014/06/06 12:46:39; author: root; &#8230; <a href="https://www.emblogic.com/blog/06/simple-program-in-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./simple.cpp,v<br />
Working file: ./simple.cpp<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1; selected revisions: 1<br />
description:<br />
printing &#8220;My name is Ruchi&#8221;using<br />
string mystring<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/06 12:46:39; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/simple-program-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Threads-using strcpy and analysing the result</title>
		<link>https://www.emblogic.com/blog/06/threads-using-strcpy-and-analysing-the-result/</link>
		<comments>https://www.emblogic.com/blog/06/threads-using-strcpy-and-analysing-the-result/#comments</comments>
		<pubDate>Tue, 03 Jun 2014 07:05:42 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Project 04: FTP based Client Server using Threads and Sockets]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10277</guid>
		<description><![CDATA[RCS file: ./thread.c,v Working file: ./thread.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: creating multiple threads using pthread_create() joining the created multiple threads using pthread_join() printing the no &#8230; <a href="https://www.emblogic.com/blog/06/threads-using-strcpy-and-analysing-the-result/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./thread.c,v<br />
Working file: ./thread.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
creating multiple threads using pthread_create()<br />
joining the created multiple threads using pthread_join()<br />
printing the no of threads created in the thread function<br />
printing the message which is globally declared<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/06/03 07:04:12; author: root; state: Exp; lines: +1 -1<br />
now using strcpy in the thread created<br />
analysing the difference between the printing statements<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/03 07:03:50; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/threads-using-strcpy-and-analysing-the-result/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thread Creation and Joining the threads created.</title>
		<link>https://www.emblogic.com/blog/06/thread-creation-and-joining-the-threads-created/</link>
		<comments>https://www.emblogic.com/blog/06/thread-creation-and-joining-the-threads-created/#comments</comments>
		<pubDate>Tue, 03 Jun 2014 04:15:01 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Project 04: FTP based Client Server using Threads and Sockets]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10260</guid>
		<description><![CDATA[RCS file: ./thread.c,v Working file: ./thread.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: pthread_create is used to create the thread pthread_exit() is used in the thread created by &#8230; <a href="https://www.emblogic.com/blog/06/thread-creation-and-joining-the-threads-created/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./thread.c,v<br />
Working file: ./thread.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
pthread_create is used to create the thread<br />
pthread_exit() is used in the thread created by the main function<br />
pthread_join() is used to join the created thread to the main thread i.e.main function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/06/03 04:12:49;  author: root;  state: Exp;  lines: +0 -1<br />
now the array of thread is created by the main function<br />
and also the array of the pthrea_join is used to join the threads created<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/06/03 04:11:14;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/thread-creation-and-joining-the-threads-created/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data structures in C(assignment-1)</title>
		<link>https://www.emblogic.com/blog/05/data-structures-in-cassignment-1/</link>
		<comments>https://www.emblogic.com/blog/05/data-structures-in-cassignment-1/#comments</comments>
		<pubDate>Mon, 26 May 2014 06:53:03 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10202</guid>
		<description><![CDATA[RCS file: ./1.c,v Working file: ./1.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: printing &#8220;Hello Word&#8221; using printf &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.1 date: 2014/05/23 11:22:57;  author: root;  state: Exp; &#8230; <a href="https://www.emblogic.com/blog/05/data-structures-in-cassignment-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./1.c,v<br />
Working file: ./1.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing &#8220;Hello Word&#8221; using printf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:22:57;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./2.c,v<br />
Working file: ./2.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
addition of n numbers is done successfully<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:22:37;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./3.c,v<br />
Working file: ./3.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
printing &#8220;Hello&#8221; using printf<br />
it also prints &#8220;&#8221; along with Hello<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/23 11:22:21;  author: root;  state: Exp;  lines: +1 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/22 08:04:43;  author: root;  state: Exp;  lines: +1 -0<br />
printing a long text including \ and &#8220;&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/22 08:03:43;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./4.c,v<br />
Working file: ./4.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
input my full name using scanf<br />
try to print my full name using printf()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/22 08:26:08;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./5.3rd_variable_without_scanf.c,v<br />
Working file: ./5.3rd_variable_without_scanf.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
swapping two values<br />
using 3rd variable<br />
without entering the values manually<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:23:21;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./5.3rd_vraible_using_scanf.c,v<br />
Working file: ./5.3rd_vraible_using_scanf.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
entering the two values in a and b<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/22 08:40:55;  author: root;  state: Exp;  lines: +7 -0<br />
swapping two values<br />
using the 3rd variable<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/22 08:39:24;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./6.c,v<br />
Working file: ./6.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
allow the user to enter the number<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/23 14:55:37;  author: root;  state: Exp;  lines: +2 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/23 14:54:21;  author: root;  state: Exp;  lines: +9 -2<br />
reversing the number<br />
is done successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 14:33:34;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./8.c,v<br />
Working file: ./8.c<br />
head: 1.4<br />
branch:<br />
locks: strict<br />
root: 1.4<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 4;    selected revisions: 4<br />
description:<br />
printing the size of int<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4    locked by: root;<br />
date: 2014/05/22 10:03:18;  author: root;  state: Exp;  lines: +1 -0<br />
printign the size of double<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/22 10:02:28;  author: root;  state: Exp;  lines: +1 -0<br />
printing the size of float<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/22 10:01:25;  author: root;  state: Exp;  lines: +1 -0<br />
printing the size of char<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/22 09:56:36;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./9.a.c,v<br />
Working file: ./9.a.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing hello world on the shell<br />
also printing that how many bytes are written by the printf()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:22:00;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./9.b.c,v<br />
Working file: ./9.b.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing hello world on the shell and also an integer<br />
checking that how many bytes are written by printf()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:25:10;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./9.c.c,v<br />
Working file: ./9.c.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
using printf(printf()) in the program<br />
and checking how many no of bytes are written<br />
and in which pattern?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:41:15;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./9.d.c,v<br />
Working file: ./9.d.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
using different conditions in printf()<br />
and checking that how many bits are written?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:41:11;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./9.e.c,v<br />
Working file: ./9.e.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
again using different variety in printf() statement<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:41:03;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./10.a.c,v<br />
Working file: ./10.a.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
user enter an integer through scanf()<br />
and printinf k which stores scanf()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:45:12;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./10.b.c,v<br />
Working file: ./10.b.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
when %d is used in printf() for a character<br />
if user enter any integer value,<br />
then it returns 1<br />
otherwise 0 if user enter a character<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 11:56:23;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./10.c.c,v<br />
Working file: ./10.c.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
user enter an integer and character<br />
if integer and character are entered<br />
in a right sequence<br />
then it returns 1<br />
if the sequence is altered,<br />
then it will return 0.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 12:01:10;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./10.d.c,v<br />
Working file: ./10.d.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
user enter name character and an integer<br />
lets c what does scanf return now<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:36:38;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./12.a.c,v<br />
Working file: ./12.a.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing the hexa number in integer form<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1    locked by: root;<br />
date: 2014/05/23 12:37:43;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./12.b.c,v<br />
Working file: ./12.b.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing the octa number in integer form<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 12:37:16;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./13.a.c,v<br />
Working file: ./13.a.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
using if and else condition<br />
if if(condition) sattisfied then it will print same<br />
otherwise not same<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:00:22;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./13.b.c,v<br />
Working file: ./13.b.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
using if and else condition<br />
if if(condition) is true then it will print greater<br />
otherwise less<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:02:55;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./13.c.c,v<br />
Working file: ./13.c.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
using if and else condition<br />
if if(condition) is true then it will print same<br />
otherwise less<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:05:31;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./13.d.c,v<br />
Working file: ./13.d.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing the float value for an integer<br />
priting the integer value for float<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:12:16;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./13.e.c,v<br />
Working file: ./13.e.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
giving more number of format specifiers than the numents<br />
lets c what happen<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:34:31;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./15.c,v<br />
Working file: ./15.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
ch=&#8217;1&#8242; will print 1<br />
and<br />
ch=1 will print in the array format<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:40:06;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./16.c,v<br />
Working file: ./16.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;    selected revisions: 5<br />
description:<br />
user enter 2 integers<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/05/23 13:52:48;  author: root;  state: Exp;  lines: +4 -1<br />
now division is performed<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/05/23 13:48:27;  author: root;  state: Exp;  lines: +4 -1<br />
performing the multiplication action now<br />
on the numbers<br />
which the user entered<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/23 13:46:54;  author: root;  state: Exp;  lines: +4 -1<br />
performing the subtraction action now<br />
on the numbers<br />
which the user entered<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/23 13:45:30;  author: root;  state: Exp;  lines: +4 -2<br />
addition is performed on both the numbers<br />
which the user entered<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:44:32;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./17.c,v<br />
Working file: ./17.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
user enter the character<br />
checking whether the entered character is a vowel or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 13:58:27;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./fac.c,v<br />
Working file: ./fac.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
user enter the number<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2    locked by: root;<br />
date: 2014/05/23 15:15:32;  author: root;  state: Exp;  lines: +6 -1<br />
factorial of the number is calculated<br />
successfully<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 14:01:52;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/data-structures-in-cassignment-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Factorial of a number is calculated</title>
		<link>https://www.emblogic.com/blog/05/factorial-of-a-number-is-calculated/</link>
		<comments>https://www.emblogic.com/blog/05/factorial-of-a-number-is-calculated/#comments</comments>
		<pubDate>Mon, 26 May 2014 06:46:08 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10200</guid>
		<description><![CDATA[RCS file: ./fac.c,v Working file: ./fac.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: user enter the number &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.2    locked by: root; date: 2014/05/23 15:15:32;  &#8230; <a href="https://www.emblogic.com/blog/05/factorial-of-a-number-is-calculated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./fac.c,v<br />
Working file: ./fac.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
user enter the number<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2    locked by: root;<br />
date: 2014/05/23 15:15:32;  author: root;  state: Exp;  lines: +6 -1<br />
factorial of the number is calculated<br />
successfully<br />
 <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/23 14:01:52;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/factorial-of-a-number-is-calculated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference Between printf() and scanf() in C</title>
		<link>https://www.emblogic.com/blog/05/difference-between-printf-and-scanf-in-c/</link>
		<comments>https://www.emblogic.com/blog/05/difference-between-printf-and-scanf-in-c/#comments</comments>
		<pubDate>Thu, 22 May 2014 09:50:39 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10178</guid>
		<description><![CDATA[printf(): When printf() is used in a progam,that means whatever statement we want to print on the shell will be written inside the double codes i.e printf(&#8220;hello&#8221;). If we write printf(&#8220;Hello\n&#8221;) then \n means when Hello is printed on the &#8230; <a href="https://www.emblogic.com/blog/05/difference-between-printf-and-scanf-in-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>printf():</p>
<ul>
<li>When printf() is used in a progam,that means whatever statement we want to print on the shell will be written inside the double codes i.e printf(&#8220;hello&#8221;).</li>
<li>If we write printf(&#8220;Hello\n&#8221;) then \n means when Hello is printed on the shell then cursor will move to the very next line of the shell.</li>
<li>Another eg is if we have already assigned a value to a variable i.e int a=7,and we want to printf the value of a using printf(),we will write as printf(&#8220;value of a=%d&#8221;,a); Here %d means assigning the very next integer.And it will print as &#8220;value of a=7&#8243; on the shell.And there is no need to give the address.</li>
<li>printf() returns the number of bytes written succesfully.</li>
</ul>
<p>scanf():</p>
<ul>
<li>If we want that the user will enter some value then we use scanf().For eg scanf(&#8220;%d&#8221;,&amp;a),here address is given in the scanf() so that some address is allocated to the integer.</li>
<li>scanf() does not return anything.</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/difference-between-printf-and-scanf-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIFO-done with three clients</title>
		<link>https://www.emblogic.com/blog/05/fifo-done-with-three-clients/</link>
		<comments>https://www.emblogic.com/blog/05/fifo-done-with-three-clients/#comments</comments>
		<pubDate>Wed, 21 May 2014 15:16:35 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10162</guid>
		<description><![CDATA[RCS file: req_client_1.c,v Working file: req_client_1.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: sending the data to the server on the request of server&#8217;s availability &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8230; <a href="https://www.emblogic.com/blog/05/fifo-done-with-three-clients/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: req_client_1.c,v<br />
Working file: req_client_1.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
sending the data to the server<br />
on the request of server&#8217;s availability<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:08:52; author: root; state: Exp; lines: +0 -1<br />
recieving the result from the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:20; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: req_client_2.c,v<br />
Working file: req_client_2.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
sending the data to the server<br />
on recieving the availability of the server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:09:16; author: root; state: Exp; lines: +1 -0<br />
recieving the result from the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:20; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: req_client_3.c,v<br />
Working file: req_client_3.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
sending the data to the server<br />
on recieving the avialaibility of the server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:09:33; author: root; state: Exp; lines: +1 -0<br />
recieving the result from the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:20; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: server.c,v<br />
Working file: server.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
sending the request to different requesting clients<br />
to send the data to the server<br />
recieving the data from diffrerent users<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:09:54; author: root; state: Exp; lines: +1 -0<br />
recieved data from the re_clients and<br />
gave the data to processing_clients and<br />
recieved the result from different processing clients<br />
transfer the result to the respective requsting clients<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:21; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: adder.c,v<br />
Working file: adder.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
recieving the data from the server and performing<br />
addition operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:11:22; author: root; state: Exp; lines: +2 -1<br />
gave back the result to the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:21; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: subtractor.c,v<br />
Working file: subtractor.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
recieving the data from the server and<br />
performing subtraction operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:11:40; author: root; state: Exp; lines: +1 -0<br />
gave the result back to the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:21; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: multiplier.c,v<br />
Working file: multiplier.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2; selected revisions: 2<br />
description:<br />
recieving the data from the server and<br />
performing the multiplication operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2 locked by: root;<br />
date: 2014/05/21 15:11:55; author: root; state: Exp; lines: +1 -0<br />
gace the result to the server successfully<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/21 15:07:21; author: root; state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/fifo-done-with-three-clients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Character_Driver</title>
		<link>https://www.emblogic.com/blog/05/character_driver-2/</link>
		<comments>https://www.emblogic.com/blog/05/character_driver-2/#comments</comments>
		<pubDate>Mon, 12 May 2014 11:54:14 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Character Driver]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=10055</guid>
		<description><![CDATA[RCS file: header.h,v Working file: header.h head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: include header files that are needed in this program struct sculldev structure is included here &#8230; <a href="https://www.emblogic.com/blog/05/character_driver-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: header.h,v<br />
Working file: header.h<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
include header files that are needed in this program<br />
struct sculldev structure is included here<br />
that include c_dev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/12 11:24:48;  author: root;  state: Exp;  lines: +16 -2<br />
given prototype for write_function<br />
added scullqset,device_size,data_size,quantum_size in struct sculldev.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/08 10:20:29;  author: root;  state: Exp;  lines: +1 -0<br />
defination of scullopen and scullrelease is given here<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:00:06;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: dec.h,v<br />
Working file: dec.h<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
we extern node number<br />
dev_t dev<br />
struct sculldev *sculldev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/12 11:27:39;  author: root;  state: Exp;  lines: +4 -0<br />
extern quantum from init file<br />
extern device from init<br />
extern data<br />
extern qset from init function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:00:06;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: init.c,v<br />
Working file: init.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
alloc_chrdev is done for registring the device<br />
kmalloc is done to allocate memory to device<br />
then memset is done<br />
before kmalloc print major and minor no that are present in dev<br />
now initilization is done means kernel provide memory<br />
cdev_add is done to add on something<br />
now again print major and minor no that are nor present in c_dev which is within struct sculldev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/05/12 11:26:27;  author: root;  state: Exp;  lines: +3 -0<br />
given size for device<br />
given size for qset<br />
given size for quantum<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/08 10:06:58;  author: root;  state: Exp;  lines: +2 -3<br />
if number of devices are more in number then use for loop<br />
module_param is used to pass command line arguments that is number of nodes is passed by user on the shell<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:00:06;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: cleanup.c,v<br />
Working file: cleanup.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
unregister_chrdev to unregister the device<br />
free the memory that is allocated to device by kfree<br />
print no of node that is no of devices<br />
cdev_del to delete something<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3    locked by: root;<br />
date: 2014/05/08 10:09:08;  author: root;  state: Exp;  lines: +0 -2<br />
same can done in clanup function if number of nodes are more in number<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/08 10:05:50;  author: root;  state: Exp;  lines: +2 -0<br />
*** empty log message ***<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:00:06;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: app.c,v<br />
Working file: app.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
in this function we make a application where we simply open a file<br />
then close it<br />
we provide node in open function to open the function created by ourself<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/12 11:29:53;  author: root;  state: Exp;  lines: +8 -5<br />
changed the O_RDONLY mode to O_WRONLY in open function<br />
write the string in the application space to the kernel<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:20:54;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: file_op.h,v<br />
Working file: file_op.h<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
struct file_opeartion is created where mapping of open and release functon is done<br />
include this in init functin<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/05/12 11:29:31;  author: root;  state: Exp;  lines: +1 -1<br />
done mapping for write<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:20:54;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: sopen.c,v<br />
Working file: sopen.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
open function is created<br />
scullopen that have struct inode and struct file<br />
__func__ is printed in it that gone tell us about current functin<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2    locked by: root;<br />
date: 2014/05/08 10:21:33;  author: root;  state: Exp;  lines: +1 -0<br />
new struct sculldev *lscull_dev is created<br />
container_of is done that provide the addresss of device<br />
store that address in lscull_dev and print it<br />
move that address to struct file private_data an print it<br />
now assign premissions<br />
means struct file f_flags do bitwise adding with O_ACCMODE<br />
that provide us the mode means RDONLY,WRONLY ,RDWR<br />
ans when we run the application .mode that is provided in open is called<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/05/08 10:20:54;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: swrite.c,v<br />
Working file: swrite.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
printing the function name<br />
finding the number of bytes written from the user space<br />
using no of bytes written,finding the no of qsets required<br />
allocate the memory for scullqset to store the data<br />
printing the function name again<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1    locked by: root;<br />
date: 2014/05/12 11:31:41;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: srelease.c,v<br />
Working file: srelease.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
scullrelease is created that have struct inode nad struct file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1    locked by: root;<br />
date: 2014/05/08 10:20:54;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/character_driver-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIFO</title>
		<link>https://www.emblogic.com/blog/03/fifo-5/</link>
		<comments>https://www.emblogic.com/blog/03/fifo-5/#comments</comments>
		<pubDate>Fri, 21 Mar 2014 07:37:34 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9212</guid>
		<description><![CDATA[A FIFO is similar to a pipe. FIFO (First In First Out) is a one-way flow of data. FIFO&#8217;s have a name i.e. FIFO is a named pipe. This is the main difference between pipes and FIFOs. To create FIFO,we &#8230; <a href="https://www.emblogic.com/blog/03/fifo-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A FIFO is similar to a pipe. FIFO (First In First Out) is a one-way flow of data. FIFO&#8217;s have a name i.e. FIFO is a named pipe. This is the main difference between pipes and FIFOs.</p>
<p>To create FIFO,we need  two header files:</p>
<p>#include &lt;sys/types.h&gt;<br />
#include &lt;sys/stat.h&gt;<br />
and  there are two ways to create FIFO:</p>
<p>int mkfifo(const char *pathname, mode_t mode);</p>
<p>and other way is to use mknod(const char *filename,mode_t mode|S_IFIFO,(dev_t)0);</p>
<p>There is no need to pass the file descriptor is FIFO which is the limitation of pipes. To read and write the data we have to open the FIFO using O_RDONLY to read the data and O_WRONLY to write the data through FIFO. To avoid block on read or block on write,we can use O_NONBLOCK.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/fifo-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working of alarm using fork,sleep and pause.</title>
		<link>https://www.emblogic.com/blog/03/working-of-alarm-using-forksleep-and-pause/</link>
		<comments>https://www.emblogic.com/blog/03/working-of-alarm-using-forksleep-and-pause/#comments</comments>
		<pubDate>Tue, 11 Mar 2014 05:51:29 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8991</guid>
		<description><![CDATA[RCS file: ./alarm.c,v Working file: ./alarm.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: global value for alarm_fired is declared. setting the child process for 5 sec &#8230; <a href="https://www.emblogic.com/blog/03/working-of-alarm-using-forksleep-and-pause/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./alarm.c,v<br />
Working file: ./alarm.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;    selected revisions: 1<br />
description:<br />
global value for alarm_fired is declared.<br />
setting the child process for 5 sec pause.<br />
meanwhile the parent process will be processing SIGALRM signal.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1    locked by: root;<br />
date: 2014/03/11 05:46:17;  author: root;  state: Exp;<br />
Initial revision<br />
==================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/working-of-alarm-using-forksleep-and-pause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>process is set to default..causing termination of process.</title>
		<link>https://www.emblogic.com/blog/03/process-is-set-to-default-causing-termination-of-process/</link>
		<comments>https://www.emblogic.com/blog/03/process-is-set-to-default-causing-termination-of-process/#comments</comments>
		<pubDate>Tue, 11 Mar 2014 05:10:34 +0000</pubDate>
		<dc:creator><![CDATA[ruchi.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[Project 2: Multiple Data Compression and Encryption]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8985</guid>
		<description><![CDATA[RCS file: ./ignore_sigint.c,v Working file: ./ignore_sigint.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: ignore the signal using SIG_DFL. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.2    locked by: root; date: 2014/03/11 &#8230; <a href="https://www.emblogic.com/blog/03/process-is-set-to-default-causing-termination-of-process/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./ignore_sigint.c,v<br />
Working file: ./ignore_sigint.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
ignore the signal using SIG_DFL.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2    locked by: root;<br />
date: 2014/03/11 05:08:35;  author: root;  state: Exp;  lines: +1 -0<br />
by pressing ctrl+c second time&#8230;the signal will be set to default<br />
causing the process to be end.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/03/11 05:06:56;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/process-is-set-to-default-causing-termination-of-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
