EmbLogic's Blog

Inter Process Communication Using Pipes:

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:
this includes header files
different libraries used in our program
structure is also defined here,to be used in the main as well as execl initiated program.
—————————-
revision 1.1 locked by: root;
date: 2015/02/27 17:08:22; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: main.c,v
Working file: main.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
pipes are used to create a inter process communication
two file descriptors are created.one for read and other for write.
—————————-
revision 1.2 locked by: root;
date: 2015/02/27 17:28:11; author: root; state: Exp; lines: +3 -3
this is the main program we have initiated a execl program call
we have taken data from the user end and write it into another process.
—————————-
revision 1.1
date: 2015/02/27 17:08:22; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: new.c,v
Working file: new.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
here arithmetic operations are performed
we have used switch statements
—————————-
revision 1.1 locked by: root;
date: 2015/02/27 17:12:18; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: new.c,v
Working file: new.c
head:
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 0
description:
=============================================================================

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:
this includes header files
different libraries used in our program
—————————-
revision 1.1 locked by: root;
date: 2015/02/27 17:08:22; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: main.c,v
Working file: main.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is the main program we have initaiated a execl program call
we have taken data from the user end and write it into another process.
—————————-
revision 1.2 locked by: root;
date: 2015/02/27 17:28:11; author: root; state: Exp; lines: +3 -3
*** empty log message ***
—————————-
revision 1.1
date: 2015/02/27 17:08:22; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: new.c,v
Working file: new.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
here result is calculated.
—————————-
revision 1.3 locked by: root;
date: 2015/02/27 18:16:21; author: root; state: Exp; lines: +1 -1
result is transferred to the main program.
—————————-
revision 1.2
date: 2015/02/27 18:14:02; author: root; state: Exp; lines: +1 -1
error resolved
—————————-
revision 1.1
date: 2015/02/27 17:57:28; 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>