EmbLogic's Blog

create pipe and pass a string threw it..

CS file: pipe.c,v
Working file: pipe.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
include all the header file
declare the varible
open a file for rdwr operation
—————————-
revision 1.3 locked by: root;
date: 2015/03/01 14:29:46; author: root; state: Exp; lines: +3 -2
take switch statement and make case
the parent is initiate and the child is initiated
give the execl command after writing the string into pipe
—————————-
revision 1.2
date: 2015/03/01 14:28:14; author: root; state: Exp; lines: +3 -3
creat the pipe
and print the rfd and wfd
then call the fork
—————————-
revision 1.1
date: 2015/03/01 14:27:03; 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>