Re: vfork()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
PIDs will be different. Only address space is shared.

Please have a look on the book Advanced programming in the unix environmant (pg.193) by Richard W stevens. It is available in any book store and will not cost more than Rs.360.00
HTH,
Om.
Rupa wrote:
Hello,
  I have a small doubt regarding the working of vfork() system call. when a call to vfork() is made, the child process created will be sharing the address space of the parent. I want to know whether the pid returned by the vfork() is same as the pid of parent. Because in case of fork() system call, child process differs from the parent by pid. I want to know regarding pid in case of vfork() system call.

If I am wrong correct me.

Thanks in advance,
Rupa

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux