delorie.com/archives/browse.cgi | search |
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 |
Date: | Thu, 1 Feb 2001 11:12:27 -0500 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: How to file descriptors get inherited by exec'd processes? |
Message-ID: | <20010201111227.B9454@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin <cygwin AT cygwin DOT com> |
References: | <3A798A49 DOT 608C6495 AT delcomsys DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <3A798A49.608C6495@delcomsys.com>; from wpd@delcomsys.com on Thu, Feb 01, 2001 at 11:09:45AM -0500 |
On Thu, Feb 01, 2001 at 11:09:45AM -0500, Patrick Doyle wrote: >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. They are inherited automatically in cygheap_fixup_in_child(). stdio_init() is only called when a cygwin process is invoked by a non-cygwin process like a Windows command shell. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |