On Wed, 2005-01-12 at 09:01 +1300, Steve Holdoway wrote:
> It might be an idea at this time to point out that by default every
> process ( or it it just those written in C - I forget - but most of the
> kernel is anyway... ) opens 3 descriptors on startup...
> 
> 0 = stdin
> 1 = stdout
> 2 = stderr
IIRC Posix requires the OS to provide these files when the process
starts, regardless of the language it is written in. However, it really
does not matter what the standard says as most languages I have used
(Python, Modula-2, HUGS, Perl, SH, Java) have STDIN, STDOUT, and STDERR
in some form, just like C ;)

-- 
Michael JasonSmith                  http://www.ldots.org/


Reply via email to