[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NCurses 5.3 Bug Reports
From: |
Thomas Dickey |
Subject: |
Re: NCurses 5.3 Bug Reports |
Date: |
Sat, 25 Jan 2003 19:48:59 -0500 |
User-agent: |
Mutt/1.3.27i |
On Sat, Jan 25, 2003 at 06:32:03PM -0600, Dan Nelson wrote:
> In the last episode (Jan 25), Warren W. Gay VE3WWG said:
> > I'd like to report that the following functions are
> > occaisionally/always returning faulty return values:
> >
> > attrset/wattrset
> >
> > since they return errors (well, at least != OK values), when in fact
> > they were successful.
>
> This is documented behaviour:
>
> The return values of many of these routines are not meaningful (they
> are implemented as macro-expanded assignments and simply return their
> argument). The SVr4 manual page claims (falsely) that these routines
> always return 1.
...and in turn (because they copied the text), X/Open says they return OK or 1,
but does not say what conditions produce a given result.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net