TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Edwards
from: Russell Coker
date: 1994-08-28 12:46:00
subject: File Handle

PE>Where is it documented that if you want to write to the terminal
PE>(stdout) you use a file handle of 0 when calling DosWrite?
PE>Also, what are the values for stdin and stderr?  Thanks + bye.

   Stdin is 0, stdout is 1, and stderr is 2 just as in UNIX.  This isn't
documented anywhere that I know of.  As for writes to 0 working that's an
undocumented feature and you shouldn't count on it working.


   cya
___
 X MR/2 2.0 NR X If you want it done right, forget Microsoft.

--- Maximus/2 2.01wb

* Origin: Multi - 61-3-739-7145 (3:633/363)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/301 341 348 365 386 998 633/104 252
SEEN-BY: 633/260 357 363 371 373 379 634/384 635/210 502 503 636/100 638/100
SEEN-BY: 640/820 690/660 711/409 410 413 430 807 808 809 934 712/353 623
SEEN-BY: 713/888 800/1
@PATH: 633/363 260 371 635/503 632/348 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.