tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Closing a serial device takes one second



Closing a serial port (e.g. /dev/dtyXX) takes almost exactly one second.
 Why is that so?  Why does the call not return immediately?

int fd;

fd = open("/dev/dty03", O_RDWR);  /* returns immediately */
close(fd); /* returns after one second */


Home | Main Index | Thread Index | Old Index