in reply to Detecting fork events in a module?
I half remember something I scanned over when writing Win32::Fmode, that your question stirred in my memory. Since noone else has mentioned it, I will--though I can do no more than just mention it.
Check out your man page for Fcntl() and FD_CLOEXEC. It might lend itself to your needs.
File descriptors open in the calling process image remain open in the new process image, except for those whose close-on-exec flag FD_CLOEXEC is set; (see fcntl(2)).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detecting fork events in a module?
by cdarke (Prior) on Aug 02, 2007 at 13:49 UTC | |
by BrowserUk (Patriarch) on Aug 02, 2007 at 14:00 UTC | |
by cdarke (Prior) on Aug 02, 2007 at 14:17 UTC |