lkml.org 
[lkml]   [1998]   [Mar]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Alan Cox)
SubjectRe: Warning, cua2 opened, ...
DateSun, 15 Mar 1998 13:01:47 +0000 (GMT)
> 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() ?



-
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 12:41    [W:0.179 / U:0.140 seconds]
©2003-2008 Jasper Spaans