huy vu wrote:
Could someone tell me why one must use vfork() if one is to call exec right 
after? I am seeing exec fails right after doing a fork() and would like to 
under stand why before trying vfork()


It's not that one must use vfork(2); it's that vfork may
succeed where fork(2) fails.  This typically happens in
memory/swap constrained environments...

- Bart


--
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to