1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
openbsd-src/usr.bin/getconf
guenther 420a52b0b6 Remove a couple duplicates entries that snuck in.
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.
2013-03-07 08:54:53 +00:00
..
getconf.1 missing newline; 2013-03-02 07:08:22 +00:00
getconf.c Remove a couple duplicates entries that snuck in. 2013-03-07 08:54:53 +00:00
Makefile