[comp.sys.ibm.pc] Looking for sample C code using serial I/O

decom@utcsri.UUCP (11/04/87)

I would like to see a short bit of C that opens the serial port
on a PC, and reads or writes from/to it.  I am using MSC 4.0, and
my call to open the port is not succeeding.  If you have a short example
that has been shown to run properly, I would appreciate seeing it.

Also, I can't find any reference to how one configures the port (baud rate,
etc).  I've checked the DOS tech ref man, but the information isn't there.
Where should I look for this info ?


Thanks,

Jon Haruni
decom@csri.toronto.edu