Baud rate and other settings settings for Linux UART drivers through ioctls.
I want to write an application for using Linux UART driver. And for the same, I need to set baud rate, number of data bits, parity, stop bits, and hardware flow control.
I am finding the way to do the same through POSIX functions tcgetattr(3) and tcsetattr(3).
But not able to find the way to set it through ioctl().
Any suggestions friends.?