Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: fred@genesis.demon.co.uk (Lawrence Kirby)
Subject: Re: Blocking open problem on Digital Unix
Date: 1999/03/07	[thread overview]
Message-ID: <920812956snz@genesis.demon.co.uk> (raw)
In-Reply-To: 7bmga9$ncr$1@nnrp1.dejanews.com

In article <7bmga9$ncr$1@nnrp1.dejanews.com> dshifflett@gwdi.com  writes:

>I am having trouble when opening a device with the
>O_NONBLOCK option.

What you're asking about is a Unix/POSIX feature and not a feature
of the C or C++ programming languages (so I've removed them from followups).

>I am using Digital Unix 4.0d,
>my device is mapped, using LAT,
>to a terminal server port, a DEC 90TL terminal server.
>
>The terminal server port is configured to not allow
>the connection until the modem signals are active.
>
>My problem is that the open call is hanging,
>(because I disconnected the modem, to test this case)
>and I expected it to return with some error
>indicating the blocked state of the device.

Either there's a bug in the system or a bug in your code. Why not post a
minimal but complete example program so we can verify that the code isn't
the problem, and others might be able to test the code on similar
systems.

-- 
-----------------------------------------
Lawrence Kirby | fred@genesis.demon.co.uk
Wilts, England | 70734.126@compuserve.com
-----------------------------------------




  reply	other threads:[~1999-03-07  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04  5:00 Blocking open problem on Digital Unix dshifflett
1999-03-07  5:00 ` Lawrence Kirby [this message]
1999-03-12  5:00   ` Wesley W. Garland
1999-03-08  5:00 ` Tom Leitner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox