delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/01/11:09:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A798A49.608C6495@delcomsys.com>
Date: Thu, 01 Feb 2001 11:09:45 -0500
From: Patrick Doyle <wpd AT delcomsys DOT com>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en,zh,zh-CN,zh-TW
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019