How is it possible to write to and read from the serial cable (aka null modem) in C (in Windows)? Assuming the cable is attatched to COM port 1 for example..
I know that in QBasic (yeah, it's DOS, but hey) you'd do:
OPEN "COM1:9600, N, 8, 1" FOR RANDOM AS #1
But how is this possible in C?