From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Mon Jul 29 2002 - 04:40:02 PDT
Precedence: bulk
The following reply was made to PR errata/80; it has been noted by GNATS.
From: Shalom Bresticker <Shalom.Bresticker@motorola.com>
To: Daryl Stewart <Daryl.Stewart@cl.cam.ac.uk>
Cc: etf-bugs-direct@boyd.com
Subject: Re: errata/80: 17.2.7 omits description of use of fd
Date: Mon, 29 Jul 2002 14:34:36 +0300
I already thought about both these questions.
> Should something be said about using $ferror after $fopen returns 0 instead of
> an fd?
You will call $ferror with the variable which you used for $fopen.
It does not matter whether the value you got back was 0 or a file descriptor
number.
Either way, $ferror will relate to the correct fd.
> Should something be said about whether or not mcds are supported one at a time
> or in groups? I would guess only a "single" channel descriptor is really
> meaningful?
A true mcds is not supported.
I thought about several cases where you call $ferror with an invalid fd.
It would be the same for any of the functions or tasks which you fd.
I guess the response is implementation dependent.
Shalom
This archive was generated by hypermail 2.1.4
: Thu Oct 10 2002 - 09:24:26 PDT
and
sponsored by Boyd Technology, Inc.