freebsd-dev/usr.bin
Rui Paulo 836450ab23 When generating functions to print the arguments of system calls with
bitwise parameters (e.g. mmap), print the syscall parameter value first.
The resulting output looks like the %b specifier of printf(9).

Before:
mmap(0,0x8000,PROT_READ|PROT_WRITE,...
After:
mmap(0,0x8000,0x3<PROT_READ|PROT_WRITE>,...

Submitted by:	Norberto Lopes <nlopes.ml at gmail.com>
Idea from:	freebsd-arch/2006-April/005116.html
2010-09-16 11:33:31 +00:00
..
alias Make hash, type and ulimit available via execve(). 2010-04-25 17:38:53 +00:00
apply - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded. 2010-03-05 15:23:01 +00:00
ar Fix a couple of typos. 2010-07-30 11:58:18 +00:00
asa
at Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
atm Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
banner ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
basename
bc - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution. 2010-06-06 11:36:08 +00:00
biff Fix command example, presumed leftovers of old markup. 2010-03-20 16:34:51 +00:00
bluetooth Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
brandelf Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
bsdiff mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
bzip2 Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
bzip2recover
c89 mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
c99 mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
calendar Remove extra ; 2010-09-14 01:33:21 +00:00
cap_mkdb
catman Modernize scandir(3) and alphasort(3) interfaces according to the IEEE 2010-01-04 15:40:17 +00:00
chat
checknr
chkey Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
chpass mdoc: remove stray and 2010-05-11 23:08:22 +00:00
cksum Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
clang Build clang libraries by default with -fno-exceptions and with 2010-07-22 19:09:34 +00:00
cmp Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
col Remove more extraneous ;s. 2010-07-15 00:04:14 +00:00
colcrt Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
colldef Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
colrm Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
column mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
comm mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
compile_et Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
compress Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00
cpio Fix typo in bsdcpio manual: 2010-09-06 20:40:38 +00:00
cpuset Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
csplit
csup Don't point users at the old csup homepage. 2010-08-05 18:26:03 +00:00
ctags This now passes a make universe with WARNS=6. 2010-01-08 11:16:58 +00:00
cut
dc - Axe out signal handling code, the shell will take care of this 2010-06-10 10:28:38 +00:00
dig Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
dirname
du Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
ee - pt_BR.ISO8859-1 catalog 2010-02-09 10:47:44 +00:00
elf2aout Make manpage's SYNOPSIS match program's usage(). 2010-02-12 15:07:24 +00:00
elfdump Teach elfdump(1) about the SUNW_dof section. 2010-08-11 18:02:48 +00:00
enigma mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
env Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
expand Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
false
fetch Fixed static linkage. 2010-02-26 09:41:16 +00:00
file
file2c Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
find Revert r207677 which is considered a violation of style(9). 2010-05-06 17:06:36 +00:00
finger Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
fmt Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
fold Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
from
fstat Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
fsync Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ftp Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
gcore Fix spelling. 2010-07-14 17:46:44 +00:00
gencat The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
getconf
getent Change how getent utmpx works. 2010-04-02 11:05:59 +00:00
getopt Fix an error in the EXAMPLES section of getopt(1), which is based on 2010-07-07 17:44:09 +00:00
gprof Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
grep Revert a minor part of revision 211364: 2010-08-19 22:55:17 +00:00
gzip Check return value of dup(), it could be -1 when the system is running 2010-08-19 01:34:00 +00:00
head Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
hesinfo
hexdump Use same table markup as in hexdump.1 2010-06-11 06:04:14 +00:00
host Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
id Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
indent Use NULL instead of 0 when setting up pointer. 2010-08-10 06:58:12 +00:00
ipcrm Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ipcs Make the char *n_name member of struct nlist 'const'. 2010-06-10 14:19:51 +00:00
join mdoc cleanup 2010-06-02 10:20:23 +00:00
jot Fix stuttering sequences and reverse ranges 2010-06-02 07:47:29 +00:00
kdump When generating functions to print the arguments of system calls with 2010-09-16 11:33:31 +00:00
keylogin Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
keylogout K&R -> ANSI 2009-06-23 23:17:04 +00:00
killall mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
ktrace - Sort list of trace points. 2010-07-14 18:28:46 +00:00
ktrdump Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lam ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
last Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
lastcomm Update xrefs from 4.3BSD to modern signal functions in various man pages. 2010-05-06 22:49:54 +00:00
ldd MFtbemd: 2010-08-23 22:24:11 +00:00
leave Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
less Import of liblzma, xz, xzdec, lzmainfo from vendor branch 2010-05-10 06:59:50 +00:00
lessecho
lesskey
lex Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
limits Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
locale Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
locate Various changes to make locate compilable with WARNS=6. Note that there 2010-06-28 12:04:55 +00:00
lock Make WARNS=6 safe. 2010-06-28 08:30:10 +00:00
lockf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
logger Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
login Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
logins Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
logname Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
look Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lorder
lsvfs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lzmainfo Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
m4 Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mail mail(1) misses addresses when replying to all 2010-05-27 12:59:49 +00:00
make Remove extraneous ; 2010-07-12 17:18:58 +00:00
makewhatis Modernize scandir(3) and alphasort(3) interfaces according to the IEEE 2010-01-04 15:40:17 +00:00
mesg Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
minigzip Enable mmap for minigzip(1). 2010-03-22 21:19:17 +00:00
ministat Make the second example command more closely match the demo output, and as 2010-06-27 23:11:35 +00:00
mkdep
mkfifo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mklocale Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mkstr Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mktemp Use prototype for usage(). 2009-12-13 03:18:37 +00:00
mkuzip mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
msgs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mt
nc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ncal Use basename(3) to determine the name of the program. 2010-08-30 22:24:26 +00:00
ncplist Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
ncplogin
netstat Remove more extraneous ;s. 2010-07-15 00:04:14 +00:00
newgrp Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
newkey mdoc cleanup 2010-06-02 10:20:23 +00:00
nfsstat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nice
nl The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
nohup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nslookup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nsupdate Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
objformat
opieinfo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
opiekey Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
opiepasswd Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
pagesize
passwd Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
paste Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
pathchk pathchk(1): Fix the example so it allows arbitrary pathnames. 2010-05-01 22:10:45 +00:00
perror The number after the command is *not* optional. 2010-03-11 12:18:52 +00:00
pr Make pr build with WARNS=6. 2010-02-26 13:48:04 +00:00
printenv
printf Note bug in trying to printf(1) things like: '-%s\n' "foo" 2010-09-09 19:27:40 +00:00
procstat Add file forgotten in r204879. 2010-03-08 20:45:52 +00:00
quota Debugging nits found while testing the new 64-bit quota code. 2010-03-16 06:12:30 +00:00
renice ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
rev Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
revoke Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rlogin Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rpcgen Plug a memory leak. 2010-05-06 21:57:38 +00:00
rpcinfo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rs
rsh Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ruptime Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rusers Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rwall Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
rwho Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
script Mark functions and variables as static. 2010-08-16 12:19:36 +00:00
sed Make -r mean exactly the same thing as -E for increased compatibility 2010-03-31 17:40:13 +00:00
seq Treat numbers after [Ee] a positive number rather than an invalid 2010-02-20 01:23:15 +00:00
setchannel mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
shar
showmount ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
smbutil Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
sockstat o Make sockstat -6 output more readable for long ipv6 2010-03-30 09:58:21 +00:00
split Correct spelling mistake, int -> into 2010-09-02 21:29:50 +00:00
stat stat: Allow -f %Sf to display the file flags symbolically. 2010-04-24 13:53:12 +00:00
su Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
systat For total interrupt count on -vm screen count all interrupts, but not only 2010-09-08 07:30:46 +00:00
tabs
tail Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
talk Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
tar mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
tcopy Make WARNS=6 safe, mainly by casting to intmax_t and printing with %ju 2010-06-28 12:00:20 +00:00
tee Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
telnet Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
tftp Fix transfer statistics in the "send file" case - The conditional used 2010-06-27 14:21:08 +00:00
time Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
tip
top Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
touch Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00
tput Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
tr Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
true
truncate Use expand_number(3) from libutil instead of home-grown function to parse 2010-03-03 19:25:28 +00:00
truss Fix breakage introduced in r211725 and improve functionality of truss on 2010-08-28 15:04:53 +00:00
tset Remove unnecessary termcap.h includes inherited from extern.h and other 2009-12-11 23:30:22 +00:00
tsort Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
tty
ul Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
uname Add new -o option (r203042) to manpage synopsis and usage(). 2010-02-10 00:18:15 +00:00
unexpand Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
unifdef Fix typos. 2010-08-01 09:10:09 +00:00
uniq Add SIZE_MAX overflow check 2010-03-09 21:06:01 +00:00
units
unvis
unzip Check return value from archive_read_new(). 2010-06-09 18:59:07 +00:00
usbhidaction For consistency, cast result of getpid() to long 2010-08-31 07:19:10 +00:00
usbhidctl The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
users Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
uudecode Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
uuencode Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vacation Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vgrind Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vi Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vis Use ANSI prototype for foldit(). 2009-12-13 04:14:55 +00:00
vmstat Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
w Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allows the -M option to be used without specifying -N. 2010-02-08 21:23:48 +00:00
wall Perform all trivial ports to utmpx for usr.bin/. 2010-01-13 18:09:54 +00:00
wc Use better type for siginfo (volatile sig_atomic_t instead of int). 2010-05-17 19:13:49 +00:00
what
whereis Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
which Refine the previous revision. 2006-12-13 12:09:41 +00:00
who Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
whois Make whois capable of searching for IPv6 addresses just like it can 2010-01-14 10:56:54 +00:00
write Perform all trivial ports to utmpx for usr.bin/. 2010-01-13 18:09:54 +00:00
wtmpcvt err() takes a printf format. 2010-06-15 04:47:16 +00:00
xargs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
xinstall Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
xlint Doh! two last second refactoring typos crept in. Fix. 2010-09-13 06:50:07 +00:00
xstr
xz Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
xzdec Add two public headers missing in r207842 2010-05-10 07:47:31 +00:00
yacc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
yes
ypcat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ypmatch Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ypwhich Variable 'getmap' is unused. 2010-06-19 16:24:55 +00:00
Makefile Move to using Makefile.arch to include the proper target-specific programs. 2010-09-13 15:30:09 +00:00
Makefile.amd64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.arm Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.i386 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.ia64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.inc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
Makefile.powerpc Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00
Makefile.sparc64 Merge from tbemd: Move to using Makefile.arch to control what's build. 2010-09-13 02:23:03 +00:00