Commit Graph

22 Commits

Author SHA1 Message Date
bde
4befe7d772 Decode all currently supported values of the ptrace `request' arg. 1999-06-26 07:31:13 +00:00
dt
d51b07c3bd Syscall arguments are now properly aligned. Print them, and syscall return
values, as longs, instead of int.
1999-06-16 18:46:40 +00:00
jmz
8fcff942ad FIx the output of long command names.
PR:		bin/10027
Submitted by:	Arne Henrik Juul <arnej@math.ntnu.no>
1999-05-21 01:09:45 +00:00
phk
155ec20505 we don't have <sys/disk.h> anymore. 1999-05-08 05:48:54 +00:00
bde
0e07630ce8 Generate code to interpret ioctl numbers for all ioctls defined in
headers under /usr/include, not just for the ones in <sys/ioctl.h>.
The generated file includes all headers that seem to define ioctls,
so build errors will probably occur if headers become less self-
sufficient than they are already.  This is a feature.  Build errors
shall not be fixed by adding more includes here.

Optionally generate a case statement instead of a list of if
statements.  This source must be edited to change this.  The case
statement should be non-optional.  It currently can't be, because
many ioctl numbers are not unique.
1998-10-16 15:33:17 +00:00
charnier
c41bc83bc1 Use err(3). Correct incomplete man page. 1997-07-16 06:49:49 +00:00
charnier
300ac74a26 Spelling correction (1 bytes' is now printed 1 byte')
PR: bin/3376
Submitted by: me
1997-05-22 06:17:44 +00:00
jmg
68a3846d7e `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's
other minor clean ups
1997-04-27 08:45:46 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
wollman
e518804de3 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
fenner
064d2d7b63 Fix arg parsing. kdump used to allow a single argument, which it
silently ignored.
1996-11-18 19:37:52 +00:00
phk
3168c6e5d3 Remove length field from utrace entries. 1996-09-22 18:18:20 +00:00
phk
92dca5bf76 For now we just hexdump the stuff in USER records. 1996-09-19 19:50:45 +00:00
bde
362be1e934 Run the headers through cpp -dM to find the #defines. The direct search
has been broken at least since 4.4Lite moved most of the #defines out of
<sys/ioctl.h>.  This should be done better.  Only a few headers are
searched.

Added some #includes so that ioctl.c compiles.  The networking headers
have a maze of undocumented interdependencies and ioctl.c now actually
supports networking ioctls.
1996-06-23 17:05:10 +00:00
dg
58a6c4ee46 Include queue.h in preparation for upcoming struct socket changes. 1996-03-11 12:56:07 +00:00
ache
5e59c0728e Add setlocale LC_CTYPE 1995-10-26 22:16:45 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
phk
87c94514b6 -I${.CURDIR}/../.. 1994-11-21 00:54:28 +00:00
phk
3c6e7145ab Absolute path to /sys again... 1994-11-21 00:53:32 +00:00
swallace
7309f35e45 Added $DESTDIR to
$DESTDIR/usr/include/sys/ioctl.h $DESTDIR/usr/include/sys/ioctl_compat.h
so ioctl.c is generated properly using 2.0 include files in $DESTDIR.
1994-09-15 05:47:41 +00:00
csgr
adcf2bd479 move #include of <sys/errno.h> so that #defining KERNEL actually has an effect,
and then also add a declaration of ernno as an extern int, because we
lose that due to having KERNEL defined while we include errno.h.
Reviewed by:	Geoff.
1994-08-22 14:28:54 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00