<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>003 Linux System Programming - EmbLogic</title>
      <link>https://www.emblogic.com/forum/categories/linux-system-programming-ipc-semaphores-threads/feed.rss</link>
      <pubDate>Thu, 12 Mar 26 12:16:48 +0530</pubDate>
         <description>003 Linux System Programming - EmbLogic</description>
   <language>en-CA</language>
   <atom:link href="/forum/discussions/feed.rss" rel="self" type="application/rss+xml" />
		<item>
			<title>003.06.IPC Mechanism.FIFOs</title>
			<link>https://www.emblogic.com/forum/discussion/900/003-06-ipc-mechanism-fifos</link>
			<pubDate>Fri, 07 Aug 2020 07:48:34 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">900@/forum/discussions</guid>
			<description><![CDATA[<span><span style="font-family: Georgia; color: #333333; font-size: large;">You are invited to put in all queries/resolutions/advice/articles/discussion related to<br /></span></span><div><span style="font-family: Georgia; color: #333333; font-size: large;"><b>003.06.IPC Mechanism.FIFOs</b></span></div><div><span><span style="font-family: Georgia; color: #333333; font-size: large;">here...</span></span></div>]]></description>
		</item>
		<item>
			<title>01.Processes-and-Resources</title>
			<link>https://www.emblogic.com/forum/discussion/1081/01-processes-and-resources</link>
			<pubDate>Tue, 09 Jan 2024 04:37:29 +0530</pubDate>
			<dc:creator>pravjot</dc:creator>
			<guid isPermaLink="false">1081@/forum/discussions</guid>
			<description><![CDATA[<span>All queries, discussions, updates and clarifications related to...</span><div><span><span style="font-family: Helvetica, Arial, Lucida Grande, Liberation Sans, sans-serif;">01.Processes-and-Resources</span></span></div><div><span>should be posted here.</span></div>]]></description>
		</item>
		<item>
			<title>18. Using the SA_SIGINFO Flag</title>
			<link>https://www.emblogic.com/forum/discussion/1732/18-using-the-sa_siginfo-flag</link>
			<pubDate>Mon, 24 Jun 2024 01:00:24 +0530</pubDate>
			<dc:creator>pravjot</dc:creator>
			<guid isPermaLink="false">1732@/forum/discussions</guid>
			<description><![CDATA[<h3><strong><span><span><span><span>18</span><span>.</span></span></span></span></strong><span><span><strong>&nbsp;<span>Using the SA_SIGINFO Flag</span></strong></span></span><br /></h3><div><span><span><span>What is the SA_SIGINFO flag in the sigaction structure, and how does it modify the behavior of signal handling? Provide an example that demonstrates using SA_SIGINFO to handle the SIGINT signal and retrieve extended information about the signal.</span></span></span></div>]]></description>
		</item>
		<item>
			<title>Tracking-Processes</title>
			<link>https://www.emblogic.com/forum/discussion/1080/tracking-processes</link>
			<pubDate>Sun, 07 Jan 2024 12:45:07 +0530</pubDate>
			<dc:creator>pravjot</dc:creator>
			<guid isPermaLink="false">1080@/forum/discussions</guid>
			<description><![CDATA[<div><span><span><span style="font-family: Comic Sans MS; font-size: large;">All queries, discussions, updates and clarifications related to&nbsp;</span></span></span><div><span style="font-family: Comic Sans MS; font-size: large;"><span><span>Topic.</span></span>003.01.11.Tracking-Processes<br /></span><div><span><span style="font-family: Comic Sans MS; font-size: large;">should be posted here.</span></span></div></div></div>]]></description>
		</item>
		<item>
			<title>Client Server Application using IPC and Synchronization techniques.</title>
			<link>https://www.emblogic.com/forum/discussion/533/client-server-application-using-ipc-and-synchronization-techniques-</link>
			<pubDate>Fri, 06 Feb 2015 10:36:50 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">533@/forum/discussions</guid>
			<description><![CDATA[<span><span><span>System<br /> programming is the activity of programming system software. The <br />systems&nbsp;programming aims to produce software which provides &nbsp;services to<br /> the computer&nbsp;hardware. It requires a greater degree of hardware <br />awareness.&nbsp;We need to create an Inter Process Communication mechanism <br />based client-Server setup. There&nbsp;should be a Server program, Some <br />clients would send requests to the server and the&nbsp;server would further <br />find the appropriate client to process the request. The server <br />then&nbsp;invokes the new client so as to process the request. The new client<br /> should then send&nbsp;the result back to the server, which then sends it <br />forward to the requesting client</span></span></span>]]></description>
		</item>
		<item>
			<title>Client Server Application - Multi threaded server.</title>
			<link>https://www.emblogic.com/forum/discussion/530/client-server-application-multi-threaded-server-</link>
			<pubDate>Sat, 10 Jan 2015 15:14:47 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">530@/forum/discussions</guid>
			<description><![CDATA[Please user this thread for discussion for - as mentioned.<br /><br />]]></description>
		</item>
		<item>
			<title>Design of Client-Server application</title>
			<link>https://www.emblogic.com/forum/discussion/24/design-of-client-server-application</link>
			<pubDate>Wed, 19 Feb 2014 13:23:35 +0530</pubDate>
			<dc:creator>kumar.neer2010</dc:creator>
			<guid isPermaLink="false">24@/forum/discussions</guid>
			<description><![CDATA[Hi All,<div><br /></div><div>I am confused in&nbsp;<b>design for client-server project</b>.</div><div>i tried client-server application with pipe but facing lots of issues.</div><div>please let me know how should i try client-server application with pipe and with fifo.</div>]]></description>
		</item>
		<item>
			<title>Orphan Process and Adoption</title>
			<link>https://www.emblogic.com/forum/discussion/936/orphan-process-and-adoption</link>
			<pubDate>Mon, 05 Apr 2021 08:42:53 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">936@/forum/discussions</guid>
			<description><![CDATA[?]]></description>
		</item>
		<item>
			<title>Copy-on-write</title>
			<link>https://www.emblogic.com/forum/discussion/816/copy-on-write</link>
			<pubDate>Mon, 18 Nov 2019 12:43:38 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">816@/forum/discussions</guid>
			<description><![CDATA[What is Copy-on-write]]></description>
		</item>
		<item>
			<title>What is Zombie?</title>
			<link>https://www.emblogic.com/forum/discussion/935/what-is-zombie</link>
			<pubDate>Mon, 05 Apr 2021 08:42:36 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">935@/forum/discussions</guid>
			<description><![CDATA[?]]></description>
		</item>
		<item>
			<title>Client-Server Communication using FIFOs for more then 1 clients</title>
			<link>https://www.emblogic.com/forum/discussion/735/client-server-communication-using-fifos-for-more-then-1-clients</link>
			<pubDate>Thu, 03 May 2018 16:56:20 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">735@/forum/discussions</guid>
			<description><![CDATA[Minutes of Meeting:<br />Client Server using FIFO.<br />]]></description>
		</item>
		<item>
			<title>Client Server Implementation. 1 Client 1 Server 1 Vendor</title>
			<link>https://www.emblogic.com/forum/discussion/539/client-server-implementation-1-client-1-server-1-vendor</link>
			<pubDate>Sun, 19 Apr 2015 16:00:59 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">539@/forum/discussions</guid>
			<description><![CDATA[<br /><br />	<br />	<br />	<br />	<br />	<br />	<br /><br /><br /><pre>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 />This is the base aedder file.<br />Included stdio.h, unistd.h, fcntl.h<br />----------------------------<br />revision 1.1<br />date: 2015/04/19 09:28:45;  author: root;  state: Exp;<br />Initial revision<br />=============================================================================<br /></pre><br /><br />]]></description>
		</item>
		<item>
			<title>03.Process Management. Duplication</title>
			<link>https://www.emblogic.com/forum/discussion/915/03-process-management-duplication</link>
			<pubDate>Thu, 24 Sep 2020 05:53:25 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">915@/forum/discussions</guid>
			<description><![CDATA[<span><span><span><span style="font-family: Georgia; color: #333333;">All queries, discussions, updates and clarifications related to&nbsp;</span></span></span></span><div><div><span><span style="font-family: Georgia; color: #333333;"><b>003.03.Process Management</b></span></span></div><div><span><span style="font-family: Georgia; color: #333333;">should be posted here.</span></span></div></div>]]></description>
		</item>
		<item>
			<title>16-17-IPC using Shared Memory</title>
			<link>https://www.emblogic.com/forum/discussion/880/16-17-ipc-using-shared-memory</link>
			<pubDate>Sat, 04 Jul 2020 10:15:23 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">880@/forum/discussions</guid>
			<description><![CDATA[<span><span><span>All queries, discussions, updates and clarifications related to&nbsp;</span></span></span><div><div><span>Shared Memory</span></div><div><span>should be posted here.</span></div></div>]]></description>
		</item>
		<item>
			<title>14-15-IPC using Message Queues</title>
			<link>https://www.emblogic.com/forum/discussion/879/14-15-ipc-using-message-queues</link>
			<pubDate>Sat, 04 Jul 2020 09:29:34 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">879@/forum/discussions</guid>
			<description><![CDATA[<span><span><span>All queries, discussions, updates and clarifications related to&nbsp;</span></span></span><div><span><span><span>Message Queues</span></span></span><div><span>should be posted here.</span></div></div>]]></description>
		</item>
		<item>
			<title>Client Server Implementstion using IPC and threads</title>
			<link>https://www.emblogic.com/forum/discussion/562/client-server-implementstion-using-ipc-and-threads</link>
			<pubDate>Wed, 23 Dec 2015 15:21:45 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">562@/forum/discussions</guid>
			<description><![CDATA[<br />RCS file: header.h,v<br />Working file: header.h<br />head: 1.2<br />branch:<br />locks: strict<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 2;&nbsp;&nbsp; &nbsp;selected revisions: 2<br />description:<br />Included stdio.h<br />----------------------------<br />revision 1.2<br />date: 2015/12/23 09:41:02;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -0<br />Included fcntl.h and unistd.h<br />----------------------------<br />revision 1.1<br />date: 2015/12/23 09:22:04;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br />CS file: request.h,v<br />Working file: request.h<br />head: 1.1<br />branch:<br />locks: strict<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 1;&nbsp;&nbsp;&nbsp; selected revisions: 1<br />description:<br />This header file describes the request structure.<br />----------------------------<br />revision 1.1<br />date: 2015/12/23 09:22:16;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br />RCS file: server.c,v<br />Working file: server.c<br />head: 1.5<br />branch:<br />locks: strict<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 5;&nbsp;&nbsp;&nbsp; selected revisions: 5<br />description:<br />Project: Client Server Using IPC and Threads.<br />This is going to be the main server source file.<br />----------------------------<br />revision 1.5<br />date: 2015/12/23 09:49:02;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -0<br />*** empty log message ***<br />----------------------------<br />revision 1.4<br />date: 2015/12/23 09:45:50;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +5 -0<br />The server tries to read the request from the pipe.<br />----------------------------<br />revision 1.3<br />date: 2015/12/23 09:38:46;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +16 -1<br />Created a pipe for accepting requests.<br />Forks a child which further execl()'s a client process, whilh would write the request.<br />----------------------------<br />revision 1.2<br />date: 2015/12/23 09:25:09;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +9 -0<br />Created pipe for accepting the request.<br />----------------------------<br />revision 1.1<br />date: 2015/12/23 09:21:36;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br /><br />RCS file: client1.c,v<br />Working file: client1.c<br />head: 1.2<br />branch:<br />locks: strict<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 2;&nbsp;&nbsp;&nbsp; selected revisions: 2<br />description:<br />This client will be invoked through the server and will get the pipe file descriptors as CLA.<br />It prepares the request and writes to the server through thr pipe.<br />The pippe file descriptors captured from CLA are converted from string to int using atoi()<br />----------------------------<br />revision 1.2<br />date: 2015/12/23 09:43:37;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />Declared wfd<br />----------------------------<br />revision 1.1<br />date: 2015/12/23 09:37:17;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br />]]></description>
		</item>
		<item>
			<title>003.07.Signals and Handlers</title>
			<link>https://www.emblogic.com/forum/discussion/830/003-07-signals-and-handlers</link>
			<pubDate>Thu, 20 Feb 2020 19:51:05 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">830@/forum/discussions</guid>
			<description><![CDATA[<span style="font-family: Arial, Verdana;"><span>Various key combinations for generating Signals</span></span><div><pre class="lang-perl prettyprint prettyprinted"><span style="font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, sans-serif; color: #303336;">$ stty -a | perl -ne'<br />   $b{$1}=$2 while /\b(intr|quit|susp|stop|start)\s*=\s*([^\s;]+)/g;<br />   END {<br />      print "SIGINT:  $b{intr}\n";<br />      print "SIGQUIT: $b{quit}\n";<br />      print "SIGTSTP: $b{susp}\n";<br />      print "SIGSTOP: $b{stop}\n";<br />      print "SIGCONT: $b{start}\n";<br />   }<br />'<br />SIGINT:  ^C<br />SIGQUIT: ^\<br />SIGTSTP: ^Z<br />SIGSTOP: ^S<br />SIGCONT: ^Q</span></pre></div>]]></description>
		</item>
		<item>
			<title>Duplicating Processes using Fork.</title>
			<link>https://www.emblogic.com/forum/discussion/508/duplicating-processes-using-fork-</link>
			<pubDate>Mon, 27 Oct 2014 16:38:52 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">508@/forum/discussions</guid>
			<description><![CDATA[Fork&gt;<br />Syntax <a rel="nofollow" href="/forum/search?Search=%23include&amp;Mode=like">#include</a> &lt;sys/types.h&gt;<br /><a rel="nofollow" href="/forum/search?Search=%23include&amp;Mode=like">#include</a> &lt;unistd.h&gt; <br />pid_t fork(void);<br />The call to fork in the parent <br />&nbsp;&nbsp;&nbsp;&nbsp; returns the PID of the new child<br />&nbsp;&nbsp;&nbsp;&nbsp; process<br />The new process continues to execute just like the original<br />In the child process the call to fork returns 0<br />This helps to differentiate between the parent and child <br />]]></description>
		</item>
		<item>
			<title>Processes Creation</title>
			<link>https://www.emblogic.com/forum/discussion/558/processes-creation</link>
			<pubDate>Sat, 26 Sep 2015 09:46:24 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">558@/forum/discussions</guid>
			<description><![CDATA[The PCE struct task_struct is found at <br />/usr/src/kernels/2.6.43.8-1.fc15.x86_64/include/linux<br />]]></description>
		</item>
		<item>
			<title>Interview Questions: Project 03</title>
			<link>https://www.emblogic.com/forum/discussion/663/interview-questions-project-03</link>
			<pubDate>Sat, 19 Aug 2017 14:50:26 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">663@/forum/discussions</guid>
			<description><![CDATA[Please post the Interview Questions and Answers related to Linux Programming using Inter-Process Communication, Synchronization and Threads here.<br />]]></description>
		</item>
		<item>
			<title>LogFile fork() execl() and passing file descriptor</title>
			<link>https://www.emblogic.com/forum/discussion/563/logfile-fork-execl-and-passing-file-descriptor</link>
			<pubDate>Wed, 23 Dec 2015 15:23:08 +0530</pubDate>
			<dc:creator>spatlou</dc:creator>
			<guid isPermaLink="false">563@/forum/discussions</guid>
			<description><![CDATA[<br />RCS file: header.h,v<br />Working file: header.h<br />head: 1.3<br />branch:<br />locks: strict<br />&nbsp;&nbsp; &nbsp;root: 1.3<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 3;&nbsp;&nbsp; &nbsp;selected revisions: 3<br />description:<br />INcluded stdio.h<br />----------------------------<br />revision 1.3&nbsp;&nbsp; &nbsp;locked by: root;<br />date: 2015/12/22 09:30:21;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -0<br />Included string.h<br />----------------------------<br />revision 1.2<br />date: 2015/12/22 08:40:07;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -0<br />Included unistd.h and fcntl.h<br />----------------------------<br />revision 1.1<br />date: 2015/12/22 08:36:10;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br /><br />RCS file: processes.c,v<br />Working file: processes.c<br />head: 1.21<br />branch:<br />locks: strict<br />&nbsp;&nbsp; &nbsp;root: 1.21<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 21;&nbsp;&nbsp; &nbsp;selected revisions: 21<br />description:<br />This program series is used for learning prosess management<br />----------------------------<br />revision 1.21&nbsp;&nbsp; &nbsp;locked by: root;<br />date: 2015/12/22 09:31:53;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />/<br />Declared count.<br />----------------------------<br />revision 1.20<br />date: 2015/12/22 09:31:17;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -1<br />Printing the no of bytes written to file.<br />----------------------------<br />revision 1.19<br />date: 2015/12/22 09:30:06;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +4 -1<br />Writing to the file.<br />----------------------------<br />revision 1.18<br />date: 2015/12/22 09:23:38;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +3 -1<br />We have a file descriptor and we want to pass this file descriptor to tnother process using execl().<br />As execl() takes only strings as argument but file descriptor is an integer.<br />So we need to conver int&nbsp; ot string .<br />this is done in our program using sprintf().<br />Now, the file descriptor is passed as argumne through execl().<br />----------------------------<br />revision 1.17<br />date: 2015/12/22 09:21:08;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -2<br />Reverting back to execl() after testing execv()<br />----------------------------<br />revision 1.16<br />date: 2015/12/22 09:18:59;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />*** empty log message ***<br />----------------------------<br />revision 1.15<br />date: 2015/12/22 09:18:27;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />*** empty log message ***<br />----------------------------<br />revision 1.14<br />date: 2015/12/22 09:17:18;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />*** empty log message ***<br />----------------------------<br />revision 1.13<br />date: 2015/12/22 09:16:42;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -6<br />*** empty log message ***<br />----------------------------<br />revision 1.12<br />date: 2015/12/22 09:15:18;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +3 -3<br />se<br />----------------------------<br />revision 1.11<br />date: 2015/12/22 09:14:40;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +4 -4<br />*** empty log message ***<br />----------------------------<br />revision 1.10<br />date: 2015/12/22 09:14:06;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +4 -4<br />se<br />----------------------------<br />revision 1.9<br />date: 2015/12/22 09:12:42;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +6 -1<br />replacing the execl() with execv().<br />i.e. instead of list of string arguments,,,<br />Now, we pass a vector of arguments.<br />----------------------------<br />revision 1.8<br />date: 2015/12/22 09:03:15;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +3 -2<br />The parent process is now going to wait for the child process to finish its execution.<br />We neeed to see that the parent process waits for child or new process or waits indefinitely.<br />----------------------------<br />revision 1.7<br />date: 2015/12/22 08:59:45;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -0<br />Testing for.. when the parent process finiches and terminates.<br />Before/After the child process.<br />----------------------------<br />revision 1.6<br />date: 2015/12/22 08:56:42;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +17 -5<br />Forkign a child process.<br />Then ececl'ing a process from child process.<br />This should not overwrite the parent process, but the child process will be killed.<br />The new process will take over the PBC of child process and a new process context would be created for it.<br />----------------------------<br />revision 1.5<br />date: 2015/12/22 08:50:19;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />Passing some string arguments to the replacing process.<br />----------------------------<br />revision 1.4<br />date: 2015/12/22 08:46:40;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +3 -0<br />Invoking the new process using process replacement , execl().<br />----------------------------<br />revision 1.3<br />date: 2015/12/22 08:40:39;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />*** empty log message ***<br />----------------------------<br />revision 1.2<br />date: 2015/12/22 08:39:47;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +13 -1<br />Opening the file whose name is collected through command line arguments.<br />----------------------------<br />revision 1.1<br />date: 2015/12/22 08:35:34;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================<br /><br />RCS file: reader.c,v<br />Working file: reader.c<br />head: 1.5<br />branch:<br />locks: strict<br />&nbsp;&nbsp; &nbsp;root: 1.5<br />access list:<br />symbolic names:<br />keyword substitution: kv<br />total revisions: 5;&nbsp;&nbsp; &nbsp;selected revisions: 5<br />description:<br />This peogram should be invoked through execl()<br />----------------------------<br />revision 1.5&nbsp;&nbsp; &nbsp;locked by: root;<br />date: 2015/12/22 09:36:20;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +1 -1<br />*** empty log message ***<br />----------------------------<br />revision 1.4<br />date: 2015/12/22 09:35:13;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +2 -1<br />Converting the file descriptor from string to integer as the file descriptor arrved through char *argv[] whils is a string ... to integer.<br />----------------------------<br />revision 1.3<br />date: 2015/12/22 09:34:04;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +4 -2<br />Reading from the file whose file descriptor was passed through command line.<br />----------------------------<br />revision 1.2<br />date: 2015/12/22 08:50:38;&nbsp; author: root;&nbsp; state: Exp;&nbsp; lines: +3 -0<br />Accepting and printing command line arguments.<br />----------------------------<br />revision 1.1<br />date: 2015/12/22 08:47:04;&nbsp; author: root;&nbsp; state: Exp;<br />Initial revision<br />=============================================================================]]></description>
		</item>
		<item>
			<title>IPC</title>
			<link>https://www.emblogic.com/forum/discussion/48/ipc</link>
			<pubDate>Fri, 21 Mar 2014 04:11:37 +0530</pubDate>
			<dc:creator>arjunchamyal</dc:creator>
			<guid isPermaLink="false">48@/forum/discussions</guid>
			<description><![CDATA[facing problem to read in processing client from server.<br />]]></description>
		</item>
		<item>
			<title>communication with pipe</title>
			<link>https://www.emblogic.com/forum/discussion/39/communication-with-pipe</link>
			<pubDate>Fri, 14 Mar 2014 07:49:38 +0530</pubDate>
			<dc:creator>iittashish447</dc:creator>
			<guid isPermaLink="false">39@/forum/discussions</guid>
			<description><![CDATA[Today created pipe and communication between files are established.]]></description>
		</item>
		<item>
			<title>handler function</title>
			<link>https://www.emblogic.com/forum/discussion/29/handler-function</link>
			<pubDate>Wed, 12 Mar 2014 02:51:28 +0530</pubDate>
			<dc:creator>gagan7230</dc:creator>
			<guid isPermaLink="false">29@/forum/discussions</guid>
			<description><![CDATA[what is handler function<br />]]></description>
		</item>
		<item>
			<title>Communication with pipe</title>
			<link>https://www.emblogic.com/forum/discussion/54/communication-with-pipe</link>
			<pubDate>Sat, 22 Mar 2014 07:45:11 +0530</pubDate>
			<dc:creator>iittashish447</dc:creator>
			<guid isPermaLink="false">54@/forum/discussions</guid>
			<description><![CDATA[The primitive for creating a pipe is the `pipe' function.&nbsp; This creates<br />both the reading and writing ends of the pipe.&nbsp; It is not very useful<br />for a single process to use a pipe to talk to itself.&nbsp; In typical use,<br />a process creates a pipe just before it forks one or more child<br />processes (*note Creating a Process::).&nbsp; The pipe is then used for<br />communication either between the parent or child processes, or between<br />two sibling processes.<br />The file discriptor for reading pipe is [0]&amp; for write [1].<br />]]></description>
		</item>
		<item>
			<title>ipc</title>
			<link>https://www.emblogic.com/forum/discussion/50/ipc</link>
			<pubDate>Fri, 21 Mar 2014 04:15:18 +0530</pubDate>
			<dc:creator>sprashant678</dc:creator>
			<guid isPermaLink="false">50@/forum/discussions</guid>
			<description><![CDATA[I have done today ipc using pipes for single client.<br />]]></description>
		</item>
		<item>
			<title>pipe</title>
			<link>https://www.emblogic.com/forum/discussion/49/pipe</link>
			<pubDate>Fri, 21 Mar 2014 04:14:49 +0530</pubDate>
			<dc:creator>poonam.kumari58</dc:creator>
			<guid isPermaLink="false">49@/forum/discussions</guid>
			<description><![CDATA[how to read and write in processing client from server ????.<br />is wait&nbsp; required at server end or processing client end.<br />]]></description>
		</item>
		<item>
			<title>05.IPC using Pipes</title>
			<link>https://www.emblogic.com/forum/discussion/46/05-ipc-using-pipes</link>
			<pubDate>Fri, 21 Mar 2014 03:22:05 +0530</pubDate>
			<dc:creator>akshatembdev</dc:creator>
			<guid isPermaLink="false">46@/forum/discussions</guid>
			<description><![CDATA[Pipes are basis of INTERPROCESS COMMUNICATION, It is form of data transfer from one process to another. Pipes generally communicate in HALF DUPLEX MODE i.e at one time only one process can input in pipe. One process writes in pipe and other process reads from that pipe created. Default size of a pipe is 64k, It uses same concept of circular queue.<br />Pipe function has the following prototype&nbsp; int pipe(int file_descripter[2]);<br />It fills this array with two new file descripters and returns a zero on success else returns -1 indicating failure.<br />WORKING: The writter will go on block on write on pipe full condition if reader is connected ie AUTOMATIC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BLOCKING, Reader will go on block on read on pipe empty if the writter is connected, In these conditions we need a terminal handler.<br />Pipe is always connected between parent and hijacked child for one way communication, Sometimes FIFO(named pipes) are used for connecting a process to unrelated process without creating child.<br /><br />]]></description>
		</item>
		<item>
			<title>Design of Client-Server application</title>
			<link>https://www.emblogic.com/forum/discussion/23/design-of-client-server-application</link>
			<pubDate>Wed, 19 Feb 2014 13:22:00 +0530</pubDate>
			<dc:creator>kumar.neer2010</dc:creator>
			<guid isPermaLink="false">23@/forum/discussions</guid>
			<description><![CDATA[Hi All,<div><br /></div><div>I am confused in&nbsp;<b>design for client-server project</b>.</div><div>i tried client-server application with pipe but facing lots of issues.</div><div>please let me know how should i try client-server application with pipe and with fifo.</div>]]></description>
		</item>
		<item>
			<title>ipc with one requesting client is done</title>
			<link>https://www.emblogic.com/forum/discussion/45/ipc-with-one-requesting-client-is-done</link>
			<pubDate>Fri, 21 Mar 2014 02:30:19 +0530</pubDate>
			<dc:creator>gagan7230</dc:creator>
			<guid isPermaLink="false">45@/forum/discussions</guid>
			<description><![CDATA[1 <br />&nbsp; 2 RCS file: server.c,v<br />&nbsp; 3 Working file: server.c<br />&nbsp; 4 head: 1.1<br />&nbsp; 5 branch:<br />&nbsp; 6 locks: strict<br />&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root: 1.1<br />&nbsp; 8 access list:<br />&nbsp; 9 symbolic names:<br />&nbsp;10 keyword substitution: kv<br />&nbsp;11 total revisions: 1;&nbsp;&nbsp;&nbsp;&nbsp; selected revisions: 1<br />&nbsp;12 description:<br />&nbsp;13 this is server<br />&nbsp;14 ----------------------------<br />&nbsp;15 revision 1.1&nbsp;&nbsp;&nbsp; locked by: root;<br />&nbsp;16 date: 2014/03/19 07:21:04;&nbsp; author: root;&nbsp; state: Exp;<br />&nbsp;17 Initial revision<br />&nbsp;18 =============================================================================]]></description>
		</item>
		<item>
			<title>ipc</title>
			<link>https://www.emblogic.com/forum/discussion/43/ipc</link>
			<pubDate>Thu, 20 Mar 2014 02:41:43 +0530</pubDate>
			<dc:creator>gagan7230</dc:creator>
			<guid isPermaLink="false">43@/forum/discussions</guid>
			<description><![CDATA[data is transfered between client and server and result is stored&nbsp; back in server<br />]]></description>
		</item>
		<item>
			<title>pipes</title>
			<link>https://www.emblogic.com/forum/discussion/42/pipes</link>
			<pubDate>Sat, 15 Mar 2014 13:17:24 +0530</pubDate>
			<dc:creator>gagan7230</dc:creator>
			<guid isPermaLink="false">42@/forum/discussions</guid>
			<description><![CDATA[how can we transfer data bw two or more childs without doing execl in child and without using delay or sleep function.]]></description>
		</item>
		<item>
			<title>how to communicate between more than two client using pipes</title>
			<link>https://www.emblogic.com/forum/discussion/38/how-to-communicate-between-more-than-two-client-using-pipes</link>
			<pubDate>Fri, 14 Mar 2014 07:37:14 +0530</pubDate>
			<dc:creator>arjunchamyal</dc:creator>
			<guid isPermaLink="false">38@/forum/discussions</guid>
			<description><![CDATA[how fork is used between server and client when more than two clients are there.???<br />]]></description>
		</item>
		<item>
			<title>A snippet involving fork() system call .</title>
			<link>https://www.emblogic.com/forum/discussion/35/a-snippet-involving-fork-system-call-</link>
			<pubDate>Fri, 14 Mar 2014 02:23:52 +0530</pubDate>
			<dc:creator>deepakdj26390</dc:creator>
			<guid isPermaLink="false">35@/forum/discussions</guid>
			<description><![CDATA[int main()<br />{<br />if(fork() || fork())<br />{<br />printf("Inside fork");<br />}<br />printf("Outside fork");<br />}<br /><br />predict the output?<br /><br /><br /><br /><br />]]></description>
		</item>
		<item>
			<title>pipes</title>
			<link>https://www.emblogic.com/forum/discussion/33/pipes</link>
			<pubDate>Thu, 13 Mar 2014 01:34:20 +0530</pubDate>
			<dc:creator>gagan7230</dc:creator>
			<guid isPermaLink="false">33@/forum/discussions</guid>
			<description><![CDATA[implemented interprocess communication using pipes<br />]]></description>
		</item>
   </channel>
</rss>