How to check status of the serial terminal buffer from userspace in C
- by BHARATH
I am writing a serial communication program in userspace. I want to check how much of the buffer is full. Is there a way to do it using linux terminal i/o api?
Thanks