lkml.org 
[lkml]   [1998]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.352 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site