I'm porting some code from one Linux to another. It uses serial ports.
As opened, the serial port converts 0x0d characters to 0x0a characters.
I have done some googling to find which *opts() functions control setting the file referred to by the handle for the serial port to be a pure, binary file. I see the one that turns off this conversion, but I want all characters to be received completely untrammelled.
I also need to use fopen()... fclose(), so ORed together last-argument things in open() are out.
What's a good website that shows *all* the serial port options for Linux?