The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,226 other subscribers

Archive for April 12th, 2012

StdAux and StdPrn standard handles (was: The importance of error code backwards compatibility – The Old New Thing – Site Home – MSDN Blogs)

Posted by jpluimers on 2012/04/12

Coo, I never knew that MS-DOS had STDAUX and STDPRN, I only knew about PRN (I think it mapped to LPT1).

Don’t you love the old new thing :)

The standard MS-DOS file handles are as follows:

handle name meaning
0 stdin standard input
1 stdout standard output
2 stderr standard error
3 stdaux standard auxiliary (serial port)
4 stdprn standard printer

–jeroen

via: The importance of error code backwards compatibility – The Old New Thing – Site Home – MSDN Blogs.

Posted in Development, Power User, Software Development | Leave a Comment »

 
%d bloggers like this: