delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/29/21:52:02

Date: Sun, 29 Jun 1997 18:50:35 -0700 (PDT)
Message-Id: <199706300150.SAA10193@adit.ap.net>
Mime-Version: 1.0
To: muller AT janus DOT u-strasbg DOT fr
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Where is stderr opened ?
Cc: djgpp AT delorie DOT com

You wrote:
>[Subject: Where is stderr opened?]
>
>  I am a poor pascal programmer that
>doesn't know much about C, and I desperately
>looked for the code that opens stderr stdin and sdtout
>in go32v2 exec, and did not find anything !!!

You won't. stdin, stdout and stderr are all set up by DOS. They are open
when your program is executed by DOS, and they must still be open when it
finishes. So your reads and writes can be done without having to worry about
any of that.

Why did you want to know?


Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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