DragonFly bugs List (threaded) for 2006-12
DragonFly BSD
DragonFly bugs List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

confstr() should return 0, not -1, on errors


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 02 Dec 2006 14:44:56 -0800

According to

http://www.opengroup.org/onlinepubs/009695399/functions/confstr.html

confstr() should return 0, not (size_t)-1, on errors. The current DragonFly BSD implementation returns -1 if sysctl() fails.



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