This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to file descriptors get inherited by exec'd processes?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]