🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #557

Re: CLOCAL, or catch-22

#557
From: Guy Harris
Date: Thu, 06 Aug 1987 22:02
18 lines
1015 bytes
> 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
Technical Details
Message-ID: <25073@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!rutgers!labrea!decwrl!pyramid!oliveb!sun!gorodish!guy
References: <325@nsta.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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