This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: open file handles inherited?
- To: gnu-win32 at cygnus dot com
- Subject: Re: open file handles inherited?
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 30 Jul 1998 16:32:11 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <000101bdbb00$d4819c60$732ddd80.cygnus.gnu-win32@cpc45115.us.dg.com>
- Stamped: newsgate-cygnus
In article <000101bdbb00$d4819c60$732ddd80.cygnus.gnu-win32@cpc45115.us.dg.com>,
Peter Mularski <pmularski@clariion.com> wrote:
>Hello,
>
>I have a question. Are open file handles inherited by exec'ed processes? If
>not, how can I get this to happen? I know under VC++, you can set the
>_fileinfo global, but is there something akin to this in cygwin? Thanks in
>advance...
In cygwin32 opened file handles are inherited by exec processes unless
you have set the "close on exec" flag using fcntl.
--
cgf@cygnus.com "Everything has a boolean value, if you stand
http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".