Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!labrea!decwrl!pyramid!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.bugs.sys5 Subject: Re: CLOCAL, or catch-22 Message-ID: <25073@sun.uucp> Date: Thu, 6-Aug-87 18:02:07 EDT Article-I.D.: sun.25073 Posted: Thu Aug 6 18:02:07 1987 Date-Received: Sat, 8-Aug-87 16:52:08 EDT References: <325@nsta.UUCP> Sender: news@sun.uucp Lines: 18 Summary: RTFM > However, the only way to set this flag is by a ioctl call; the ioctl > call needs a file-descriptor argument; a file-descriptor can only be > obtained by a successfull open call... From the S5R2 manual page OPEN(2): When opening a file associated with a communication line: If O_NDELAY is set: The open will return without waiting for carrier. If O_NDELAY is clear: The open will block until carrier is present. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com