DragonFly BSD
DragonFly kernel List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: sasc re-write

From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Tue, 18 Jan 2005 07:23:01 +0100

-On [20050118 05:02], David Cuthbert (dacut@xxxxxxxxx) wrote:
>Heh... this is one of those areas where there seem to be two distinct 
>camps with little grey area. :-) For the record, I'm in the "Thou shalt 
>not use an integral value as the result in thy boolean test" camp with 
>Diane here.  Zero meaning false, non-zero meaning true is merely a 
>convention (which is simple to grasp and not as error-prone as many 
>other conventions, admittedly, but still a convention).

I think that this says enough:


Successful calls never set errno; once set, it remains until another error
occurs.  It should only be examined after an error.

Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Just remain in the centre, watching. And then forget that you are there...

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]