Mail Archives: djgpp/1998/08/25/14:46:12
On Sun, 23 Aug 1998 tonyblaha AT juno DOT com wrote:
> I'm a very new C programmer, and I was wanting to write a small
> speed-dial program with djgpp for msdos. How can I read/write from a COM
> port? Looking at the documentation I thought maybe I could use "inp" and
> "outp" from PC.H, but I don't know how to use them.
If you only need to output several strings to the port, you could try to
use the predefined stream `stdaux'. You use it the same as `stdout',
only `stdaux' is open in binary mode.
- Raw text -