Tag Archives: execl
Replacing a Process Image
Replacing a Process Image ========================= – The exec function replaces current process with a new process. – The path of new process is specified as argument to exec. – It is defined in header : #include<unistd.h> – Last argument of … Continue reading
process replacement followed by inter process comm. using file
This is the output: [root@localhost ipc]# ./p_comm File Open Successfully This is Parent with id=31340 This is child with id=31341 This is a new program which replaced the child Write By Child:: Success Read by Parent: Success Child Said:Hello … Continue reading
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: … Continue reading