Subject: Re: lib/35401
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 01/11/2007 21:05:05
The following reply was made to PR lib/35401; it has been noted by GNATS.
From: Christian Biere <christianbiere@gmx.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: lib/35401
Date: Thu, 11 Jan 2007 22:08:08 +0100
Thorsten Glaser wrote:
> >Since errno is not set, I think this isn't recognized as an error (even
> >with negative return value). Could be naughty, couldn't it?
>
> According to (my) TFM, only -1 is an error.
According to POSIX any negative return values indicates an error and that is
what matters.
--
Christian