How to implement a timeout in read function call?
- by sasayins
Hi,
I want to use serial com port for communication and I want to implement a timeout every time I call the read function call.
int filedesc = open( "dev/ttyS0", O_RDWR );
read( filedesc, buff, len );
Thanks