EmbLogic's Blog

Process replacement using execl

RCS file: p_replace.c,v
Working file: p_replace.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
program to replace the child process using execl()
—————————-
revision 1.2
date: 2014/09/22 10:22:30;  author: root;  state: Exp;  lines: +9 -1
use wait statement so that parent will wait till the child completed its execution
—————————-
revision 1.1
date: 2014/09/22 10:06:47;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: child.c,v
Working file: child.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
sample program which replace the child when call by child through execl()
—————————-
revision 1.1
date: 2014/09/22 10:06:07;  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>