Messages in this thread | | | Date | Sun, 15 Mar 1998 18:26:44 +0100 (MET) | From | (Gert Doering) | Subject | Re: Warning, cua2 opened, ... |
| |
Alan Cox wrote:
>> The proper way to open POSIX tty devices is as follows. First, open >> them with the O_NONBLOCK flag; this guarantees that they won't block >> waiting for carrier detect. Secondly, use the fcntl() call to clear the
>It doesnt however seem to guarantee they wont get hung up on instantly >before they can issue a tcsetattr() ?
IIRC, the hangup is only generated on a DCD *drop*, not on DCD being already low.
gert -- email: gert@greenie.muc.de fax: +49-89-3244814 http://www.leo.org/~doering
Every nation has the government it deserves. --Joseph De Maistre
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |