Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-22 | Add sysconf() extensions PHYS_PAGES, AVPHYS_PAGES, NPROCESSORS_CONF | Todd C. Miller | |
and NPROCESSORS_ONLN. OK guenther@ | |||
2013-03-28 | Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2, | Philip Guenther | |
msdos, NFS, fifos and devices, plus support for querying it in getconf(2) and the requisite pathconf(2) manpage blurb ok tedu@ | |||
2013-03-07 | Remove a couple duplicates entries that snuck in. | Philip Guenther | |
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-02 | sort options, and avoid line wrap, in usage(); ok guenther | Jason McIntyre | |
2013-03-02 | missing newline; | Jason McIntyre | |
2013-03-02 | Bring getconf(1) substantially up to spec with POSIX 1003.1-2008, | Philip Guenther | |
adding 155 new names as well as support for the -v option. Also, add support for non-standard -L and -l options for listing the known names. (Contrast with the Solaris/Linux -a option, whose output is inconsistent and can't be reliably parsed.) ports build tested by espie@ | |||
2010-09-03 | add an EXIT STATUS section for /usr/bin; | Jason McIntyre | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2009-01-04 | replace hardcoded exit values with .Ex macros; | Igor Sobrado | |
ok jmc@ | |||
2008-11-08 | fix format string | Charles Longeau | |
ok otto@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2006-12-04 | check confstr() return value. Due to the braindead return value | Otto Moerbeek | |
specified by POSIX we have to clear errno before; also check for -1 to remain compatible. ok millert@ | |||
2003-07-10 | add missing includes | David Krause | |
ok deraadt@ tedu@ | |||
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-05-21 | From NetBSD: | Paul Janzen | |
Fix an ancient typo which made "_POSIX_PATH_MAX" actually return "_POSIX_PIPE_BUF". | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-07-12 | first pass at a -Wall cleanup | Theo de Raadt | |
2001-03-01 | Sync usage() with man page; mpech@prosoft.org.lv | Aaron Campbell | |
2000-03-07 | Various cleanup. | Aaron Campbell | |
1999-06-05 | - remove trailing white space | Aaron Campbell | |
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | |||
1998-09-26 | usr.bin/ man page fixes, f-m. | Aaron Campbell | |
1997-09-21 | $OpenBSD$ | Theo de Raadt | |
1996-06-26 | rcsid | Theo de Raadt | |
1996-05-04 | call errx instead of err | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |