mirror of
https://github.com/openbsd/src.git
synced 2025-01-04 23:35:36 -08:00
420a52b0b6
Per POSIX, if confstr() returns zero without setting errno ("no defined value") then print "undefined\n". Don't include a pointless number in the error messasge if confstr() fails. Above pointed out by Andres Perera (andres.p (at) zoho.com) Orgranize the CONFSTR code like the SYSCONF and PATHCONF cases. Don't test for confstr() returning (size_t)-1, as that's not special. Delete lint comments and unnecessary casts. |
||
---|---|---|
.. | ||
getconf.1 | ||
getconf.c | ||
Makefile |