freebsd-dev/usr.bin
Juli Mallett 5a4ba400c1 Use some macro evil to create the functions for using sysctl(3) to get each
variable natively.  It should allow you to use any sysctl mib set, but due
to limitations of what I can do with macros, right now it's limited to two,
which is all this program used anyway.

Sponsored by:	Bright Path Solutions
2002-09-23 06:47:39 +00:00
..
alias Fix installworld. 2002-07-17 15:35:31 +00:00
apply WARNS=4 2002-07-14 18:23:22 +00:00
ar WARNS=4 2002-07-14 18:23:22 +00:00
asa mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00
at mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
awk BWK awk appears to work for world builds just fine now. We want to make 2002-05-10 20:36:21 +00:00
banner remove __P 2002-03-22 01:22:50 +00:00
basename ANSIify function definitions. 2002-09-04 23:29:10 +00:00
biff Bump document date for the 'beep only' change. 2002-08-16 03:08:25 +00:00
brandelf Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
calendar Update equinoxes and solstices. 2002-09-22 01:53:18 +00:00
cap_mkdb ANSIify function definitions to avoid a warning. 2002-07-28 14:41:26 +00:00
catman No need to declare optind as an external int. 2002-09-04 21:16:51 +00:00
chat Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
checknr ANSIify function definitions to avoid a warning. 2002-07-28 14:55:59 +00:00
chflags ANSIify function definitions. 2002-09-04 23:29:10 +00:00
chkey Use strchr() instead of index(). Use getopt(). Use err(). 2002-08-27 19:06:44 +00:00
chpass Consistently use FBSDID 2002-06-30 05:25:07 +00:00
cksum ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
cmp ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
col ANSIify function definitions. 2002-09-04 23:29:10 +00:00
colcrt ANSIify function definitions. 2002-09-04 23:29:10 +00:00
colldef Avoid a signedness warning by casting chain_index to a size_t. 2002-09-04 21:22:49 +00:00
colrm ANSIify function definitions to avoid a warning. 2002-07-28 15:22:43 +00:00
column ANSify function definitions to avoid a warning. 2002-07-28 15:25:15 +00:00
comm ANSIify function definitions to avoid a warning. 2002-07-28 15:28:38 +00:00
compile_et
compress ANSIify function definitions to avoid a warning. 2002-07-28 15:32:17 +00:00
csplit mdoc(7) police: simplify. 2002-08-14 11:38:30 +00:00
ctags ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
cut ANSIify function definitions. 2002-09-04 23:29:10 +00:00
dig
dirname ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
dnskeygen
dnsquery
doscmd Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
du ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
ee Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk. 2002-07-02 12:37:09 +00:00
elf2aout Set NO_WERROR to ignore the following warning which is emitted on 2002-07-11 18:06:09 +00:00
enigma ANSIify function definitions. 2002-09-04 23:29:10 +00:00
env ANSIify function definitions. 2002-09-04 23:29:10 +00:00
expand ANSIify function definitions. 2002-09-04 23:29:10 +00:00
false Consistently use FBSDID 2002-06-30 05:25:07 +00:00
fetch s/optarg/s/ (cut'n'paste braino) 2002-08-27 10:19:24 +00:00
file Update for FILE v3.39. 2002-09-19 13:53:17 +00:00
file2c Consistently use FBSDID 2002-06-30 05:25:07 +00:00
find Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
finger ANSIify function definitions. 2002-09-04 23:29:10 +00:00
fmt Consistently use FBSDID 2002-06-30 05:25:07 +00:00
fold ANSIify function definitions. 2002-09-04 23:29:10 +00:00
from ANSIify function definitions. 2002-09-04 23:29:10 +00:00
fstat Userland changes to go with vnode->v_tag change. 2002-09-14 18:51:10 +00:00
fsync Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ftp Update for lukemftp-1.6-beta2. 2002-06-15 09:42:17 +00:00
gcore Add #include <sys/queue.h> for sparc64's benefit. The MD includes there 2002-09-13 18:24:59 +00:00
gencat Use mkstemp(3) to avoid /tmp race. 2002-05-29 14:23:10 +00:00
getconf Completely revamp the way getconf(1) works, for better adherence to the 2002-09-19 03:39:03 +00:00
getopt ANSIify function definitions. 2002-09-04 23:29:10 +00:00
gprof Consistently use FBSDID 2002-06-30 05:25:07 +00:00
head Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU 2002-07-23 14:39:20 +00:00
hesinfo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
hexdump ANSIify function definitions. 2002-09-04 23:29:10 +00:00
host
id ANSIify function definitions. 2002-09-04 23:29:10 +00:00
indent Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ipcrm ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ipcs Consistently use FBSDID 2002-06-30 05:25:07 +00:00
join ANSIify function definitions. 2002-09-04 23:29:10 +00:00
jot Don't depend on pollution in <limits.h> for the definition of 2002-07-05 15:58:27 +00:00
kdump Backed out revs 1.32-1.33. The problem has been fixed better by 2002-09-16 10:06:02 +00:00
kenv Consistently use FBSDID 2002-06-30 05:25:07 +00:00
keylogin Consistently use FBSDID 2002-06-30 05:25:07 +00:00
keylogout Consistently use FBSDID 2002-06-30 05:25:07 +00:00
killall s/progname/procname/ to be consistent with the other occurrences 2002-07-15 11:33:30 +00:00
ktrace Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ktrdump - Add the -i option to read in a saved ktr file output by KTR_ALQ. 2002-09-22 07:21:28 +00:00
lam Back out my minorly disputed and possibly not well thought out changes to how 2002-07-01 18:03:30 +00:00
last ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lastcomm ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ldd Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
leave ANSIify function definitions. 2002-09-04 23:29:10 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho
lesskey
lex Catch up with the ISO-C++ standard. 2002-09-09 02:58:42 +00:00
limits Update the usage string in the limits(1) manpage to include -b for 2002-09-18 16:25:59 +00:00
locate Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
lock ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lockf Consistently use FBSDID 2002-06-30 05:25:07 +00:00
logger ANSIify function definitions. 2002-09-04 23:29:10 +00:00
login When login tries to do the chmod/chflags on a read only file system, 2002-08-19 20:54:00 +00:00
logname ANSIify function definitions. 2002-09-04 23:29:10 +00:00
look ANSIify function definitions. 2002-09-04 23:29:10 +00:00
lorder Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lsvfs Add #include <sys/sysctl.h>. In my tree, mount.h includes 2002-08-11 02:07:43 +00:00
m4 Die on -D=foo, when parsing options - we can't let someone define (nil). 2002-09-04 01:12:39 +00:00
mail Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
make Make the DEBUGF() macro portable by (ugh) adding a Debug() function, which 2002-09-18 16:13:03 +00:00
makewhatis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mesg ANSIify function definitions. 2002-09-04 23:29:10 +00:00
minigzip Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkdep Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkfifo ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mklocale Document SWIDTH* 2002-08-20 15:19:34 +00:00
mkstr warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
mktemp Use proper article. 2002-07-16 05:38:26 +00:00
msgs ANSIify function definitions. 2002-09-04 23:29:10 +00:00
mt Add definitions for the industry-standard DLT density codes. 2002-07-09 11:26:09 +00:00
ncal Correct History: cal(1) appeared in V5, not V6. 2002-06-03 15:02:02 +00:00
ncplist Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
ncplogin ANSIify function definitions. 2002-09-04 23:29:10 +00:00
netstat Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
newgrp mdoc(7) police: one minor change that was not probably worth a commit. 2002-05-30 13:57:35 +00:00
newkey The .Nm utility 2002-07-14 15:12:00 +00:00
nfsstat Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
nice ANSIify function definitions. 2002-09-04 23:29:10 +00:00
nl Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
nm Fix some easy warnings; ANSIfy, constify. 2002-04-28 12:04:20 +00:00
nohup WARNS=4 2002-07-14 18:23:22 +00:00
objformat Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
opieinfo Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiekey Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiepasswd Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
pagesize Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
passwd #include <stdlib.h> for exit(3) prototype. 2002-05-11 03:18:14 +00:00
paste Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
pathchk When stat(2) fails, put the name of the component it failed on in the 2002-06-10 10:03:46 +00:00
perl Prevent the wrapper from looping on itself forever, when there 2002-09-10 13:56:30 +00:00
pr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
printenv ANSIify function definitions. 2002-09-04 23:29:10 +00:00
printf ANSIify function definitions. 2002-09-04 23:29:10 +00:00
quota Add a new flag (-l) that suppresses quota checks on NFS filesystems. 2002-08-09 00:53:00 +00:00
ranlib ANSIfy functions, and move extern declarations into a shared header 2002-04-28 11:59:43 +00:00
renice The .Nm utility 2002-07-14 15:12:00 +00:00
rev ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rlogin Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
rpcgen Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc, 2002-07-21 12:55:04 +00:00
rpcinfo Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
rs Contrary to what the comments said, rs -H did not recycle storage, it just 2002-06-07 07:08:06 +00:00
rsh Check for FD_SET overrun. 2002-09-09 16:14:03 +00:00
rup Style only; format function declarations, sort header includes, and 2002-04-28 10:49:15 +00:00
ruptime Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but 2002-04-28 10:56:09 +00:00
rusers Trivial warnings fixes; staticise and use unsigned. 2002-04-28 11:13:20 +00:00
rwall ANSIify function definitions. 2002-09-04 23:29:10 +00:00
rwho Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring. 2002-07-01 16:40:33 +00:00
sasc remove __P 2002-03-22 01:42:45 +00:00
script ANSIify function definitions. 2002-09-04 23:29:10 +00:00
sed Initialize a variable in order to fix when faced with picky compilers. 2002-09-20 19:40:23 +00:00
shar
showmount The .Nm utility 2002-07-14 15:12:00 +00:00
size Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Use a cast to `void *' before casting to a pointer to a structure 2002-08-02 11:57:59 +00:00
soelim ANSIify function definitions. 2002-09-04 23:29:10 +00:00
split Support larger files (at least 64-bit offsets) by using off_t instead of 2002-07-15 05:31:55 +00:00
stat I was too conservative with my header changes, so restore some sanity 2002-08-15 04:58:46 +00:00
strings Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
strip Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
su Fix typing error in prev. commit 2002-08-12 17:24:42 +00:00
symorder Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
systat Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00
tabs Note that this appeared at least as early as PWB UNIX. 2002-06-10 22:59:59 +00:00
tail revert WARNS=4, it makes the alpha compile sad. 2002-07-15 09:53:34 +00:00
talk Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
tconv Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tcopy Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tee ANSIify function definitions. 2002-09-04 23:29:10 +00:00
telnet Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
tftp mdoc(7) police: markup nits. 2002-05-30 06:18:53 +00:00
time ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tip Merge from import. The import was done ages ago, and this diff has been 2002-07-19 14:10:35 +00:00
top Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
touch ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tput ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
true A function which takes no arguments has an argument list spelled (void) in the 2002-06-20 05:35:40 +00:00
truncate remove __P 2002-03-22 01:42:45 +00:00
truss Remove an unnecessary cast. 2002-08-07 11:35:18 +00:00
tset ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tsort ANSIify function definitions. 2002-09-04 23:29:10 +00:00
tty A space between switch and open-paren. Don't explicitly cast the value 2002-05-29 17:12:30 +00:00
uac Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ul ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uname Use some macro evil to create the functions for using sysctl(3) to get each 2002-09-23 06:47:39 +00:00
unexpand ANSIify function definitions. 2002-09-04 23:29:10 +00:00
unifdef Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
uniq ANSIify function definitions. 2002-09-04 23:29:10 +00:00
units Add enough consts to keep everyone happy. 2002-07-28 16:23:28 +00:00
unvis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
usbhidctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
users ANSIify function definitions. 2002-09-04 23:29:10 +00:00
uudecode Some uses of the variable n needed to be int, others needed to be 2002-09-11 04:26:09 +00:00
uuencode Don't try (and fail) to fchmod /dev/stdout. Revert the manual page 2002-09-03 19:37:23 +00:00
uuidgen mdoc(7) police: kill hard sentence breaks. 2002-05-30 14:10:44 +00:00
vacation Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
vgrind Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vi Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
vis ANSIify function definitions. 2002-09-04 23:29:10 +00:00
vmstat The boottime variable in sys/kern/kern_tc.c is a struct timeval, not a 2002-08-09 15:47:43 +00:00
w Fix warning when calling w(1) when logged in via xdm/kdm. This is 2002-08-23 04:31:58 +00:00
wall Note that this appeared at least as early as PWB UNIX. 2002-06-10 22:59:59 +00:00
wc Locale environment variables influence wc(1) regardless of whether the 2002-08-11 10:54:19 +00:00
what ANSIify function definitions. 2002-09-04 23:29:10 +00:00
whereis Use correct document date for the -a option. 2002-08-22 01:54:18 +00:00
which Handle relative and absolute pathnames (anything with a `/' in it) in the same 2002-06-30 06:02:39 +00:00
who Style: put static qualifier on definition of static functions. 2002-06-20 07:36:22 +00:00
whois ARIN has annoyingly started using caps when referencing 2002-09-18 07:51:46 +00:00
window Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
write ANSIify function definitions. 2002-09-04 23:29:10 +00:00
xargs Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
xinstall ANSIify function definitions. 2002-09-04 23:29:10 +00:00
xlint Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
xstr ANSIify function definitions. 2002-09-04 23:29:10 +00:00
yacc Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
yes ANSIify function definitions. 2002-09-04 23:29:10 +00:00
ypcat Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypmatch Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypwhich Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Makefile Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
Makefile.inc Backout -Werror protection. No need to walk all over the upcoming 2002-02-06 18:13:12 +00:00