This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
How to file descriptors get inherited by exec'd processes?
- To: cygwin <cygwin at cygwin dot com>
- Subject: How to file descriptors get inherited by exec'd processes?
- From: Patrick Doyle <wpd at delcomsys dot com>
- Date: Thu, 01 Feb 2001 11:09:45 -0500
Could somebody please point me to the location in the source code where
file descriptors get inhereted by an exec'd process. I see in
"dcrt0.cc" where 'stdio_init()' is called, which sets up the fdtab for
stdin, stdout, and stderr (only), but I can't seem to find where the
rest of the opened file descriptors are inherited. I realize that this
is a bit off topic for this particular list, but I know the folks who
know the answer read this list.
Thanks for the help...
--wpd
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple