Parallel port/ Serial port
Quote:
> I need examples of ANSI C programs for parallel port and/or
serial port
> access, Did anyone know where I could found some examples?
> Thanks,
> William
Hi William,
There ARE NO ANSI C programs which can access parallel or serial
ports. The minute you talk to specific hardware devices, you
are outside the bounds of the standard. BTW, how the hardware
works is 100% platform and operating system dependent.
Serial ports on a Macintosh are different from serial ports on a
PC are different from serial ports on a Sun.
And on the same PC, the way you access the same serial port is
different in MS-DOS from Windows and Windows is different from
Linux...
You need to ask in a newsgroup which discussing programming for
your platform and operating system. You didn't give us this
information, but one of these might help you:
comp.unix.programmer
comp.os.msdos.programmer
comp.os.ms-windows.programmer.misc
comp.sys.mac.programmer
comp.os.os2.programmer
comp.sys.ibm.pc.programmer
comp.os.msdos.djgpp
Jack