Problems with FreeBSD assembly

perryh at pluto.rain.com perryh at pluto.rain.com
Thu Nov 12 08:21:52 UTC 2009


Mihai Don??u <mihai.dontu at 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.


More information about the freebsd-questions mailing list