Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!mailrus!ames!lll-tis!oodis01!uplherc!utah-gr!stride!tahoe!malc
From: malc@tahoe.unr.edu (Malcolm L. Carlock)
Newsgroups: comp.sys.ibm.pc
Subject: C write() operations to MS-DOS devices?
Keywords: write() to MS-DOS devices:  PRN, CON, AUX ...
Message-ID: <1318@tahoe.unr.edu>
Date: 25 May 88 21:30:06 GMT
Organization: Univ. of Nev., Reno-Mathematics
Lines: 17


Can anyone tell me, or point me to some info describing, how to do a C write()
operation to an MS-DOS device (such as PRN, AUX, etc.) ?

I have looked through the MicroSoft C V.5.0 manuals, but have found very
little, if anything, on this subject.  The DOS manual likewise had little
or nothing to say about these devices, programming-wise.

Neither PRN nor LPT1 are defined in any of the I/O or file-control .h files,
nor do they appear in any of the C manual indexes.

Thanks in advance,


Malcolm L. Carlock
-----------------------------------------------------------------
malc@tahoe.unr.edu.UUCP		       University of Nevada, Reno