summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf/getconf.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-26The code path were we pass `pathname' in the arguments is already limitedmestre1-1/+3
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.schwarze1-10/+7
2015-11-17Pledge for getconf(1). ok deraadt@ benno@jca1-1/+9
2015-03-22Add sysconf() extensions PHYS_PAGES, AVPHYS_PAGES, NPROCESSORS_CONFmillert1-1/+7
2013-03-28Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2,guenther1-2/+2
2013-03-07Remove a couple duplicates entries that snuck in.guenther1-31/+20
2013-03-02sort options, and avoid line wrap, in usage(); ok guentherjmc1-2/+3
2013-03-02Bring getconf(1) substantially up to spec with POSIX 1003.1-2008,guenther1-69/+410
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2008-11-08fix format stringchl1-4/+4
2006-12-04check confstr() return value. Due to the braindead return valueotto1-3/+10
2003-07-10add missing includesdavid1-2/+3
2003-06-10mostly ansi cleanup; pval okderaadt1-6/+4
2003-05-21From NetBSD:pjanzen1-3/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-3/+3
2001-07-12first pass at a -Wall cleanupderaadt1-2/+3
2001-03-01Sync usage() with man page; mpech@prosoft.org.lvaaron1-5/+6
1996-06-26rcsidderaadt1-1/+3
1996-05-04call errx instead of errderaadt1-4/+7
1995-10-18initial import of NetBSD treederaadt1-0/+234