Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 00:14:36 -0800
From:      perryh@pluto.rain.com
To:        mihai.dontu@gmail.com, freebsd-questions@freebsd.org
Cc:        norstar39@gmail.com
Subject:   Re: Problems with FreeBSD assembly
Message-ID:  <4afbc3ec.zk%2B/zkNLGZsHODYg%perryh@pluto.rain.com>
In-Reply-To: <200911112229.24468.mihai.dontu@gmail.com>
References:  <4AFB13D9.9050507@gmail.com> <200911112229.24468.mihai.dontu@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mihai Don??u <mihai.dontu@gmail.com> wrote:
> I don't think the kernel is the one that initializes the
> 0, 1 and 2 file descriptors (stdin, stdout and stderr).

Correct so far.

> I think you have to open them yourself ...

No, the shell does it.  That's how it is able to set up
pipes and redirection.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4afbc3ec.zk%2B/zkNLGZsHODYg%perryh>