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

Posted in Linux Internals and System Programming, Project 03: Client Server Communication using Linux and IPC | Tagged , , , , , , , | Leave a comment

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

Posted in Project 03: Client Server Communication using Linux and IPC | Tagged , , | Leave a comment

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

Posted in Project 03: Client Server Communication using Linux and IPC | Tagged , , | Leave a comment