EmbLogic's Blog

Getting the pid and ppid of the current process and invoked process

RCS file: upper_case.c,v
Working file: upper_case.c
head: 1.1
branch:
locks: strict
	root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
In this program we have converted the lower case character into upper case character.
----------------------------
revision 1.1	locked by: root;
date: 2015/02/25 09:43:19;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: upper_case.c,v
Working file: upper_case.c
head: 1.2
branch:
locks: strict
	root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
In this program we have converted the lower case character into upper case character.
----------------------------
revision 1.2	locked by: root;
date: 2015/02/25 09:54:55;  author: root;  state: Exp;  lines: +2 -0
In this we are using system call i.e system() to invoke a program inside a running program .
----------------------------
revision 1.1
date: 2015/02/25 09:43:19;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: upper_case.c,v
Working file: upper_case.c
head: 1.3
branch:
locks: strict
	root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
In this program we have converted the lower case character into upper case character.
----------------------------
revision 1.3	locked by: root;
date: 2015/02/25 10:40:52;  author: root;  state: Exp;  lines: +7 -3
Nw we have just find out the process id and parent process id of the running as well as invoked program.
----------------------------
revision 1.2
date: 2015/02/25 09:54:55;  author: root;  state: Exp;  lines: +2 -0
In this we are using system call i.e system() to invoke a program inside a running program .
----------------------------
revision 1.1
date: 2015/02/25 09:43:19;  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>