I'm using Linux OS as a programming platform. And I want to create a program that uses serial(/dev/ttyS0) port as a communication medium. I already know how to open, read, write and close the serial port using standard Linux function.
Now my question is how can I able to setup the serial port? What I mean is I want to change the setting values of a serial device programmatically.
Many thanks.