If I open a serial port in blocking mode
fd1 = open ("/com/0", (O_RDWR|O_DMA));
and then later use tcgetbuffers I always get error no. 88 which is ENOSYS(function not supported) as
retbuf = tcgetbuffers(fd1, &bufs);
if (retbuf < 0)
printf("Error no.= %d\n", getErrno());
Can tcgetbuffers not be used with blocking operations?