EmbLogic's Blog

Program to communicate two processes..

RCS file: c1.c,v
Working file: c1.c
head: 1.1
branch:
locks: strict
	root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
Creating pipe for inter process communication 
given  execl call in the child process and passed the rfd through the command line arguments

Created a structure and passed the structure variable frm the parent process
----------------------------
revision 1.1	locked by: root;
date: 2015/02/28 06:50:21;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
	root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
just decleared the header files that are useful for the program i.e stdlib.h,stdio.h,unistd.h
and created the structure
----------------------------
revision 1.1	locked by: root;
date: 2015/02/28 06:52:04;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: adder.c,v
Working file: adder.c
head: 1.1
branch:
locks: strict
	root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
Collected the rfd and read the no of bytes from rfd 
printed the values of the structure attributes
c
calucated the sum
----------------------------
revision 1.1	locked by: root;
date: 2015/02/28 06:55:05;  author: root;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>