summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Alpha support for truss. I tested this on both bento and beast (thanks,sef1998-10-031-1/+12
| | | | | Jordan, for pointing me at beast!). There should be no change for the i386 version.
* Use a default execution type if none of the listed ones match. Thissef1998-09-071-1/+10
| | | | | uses the first type listed in the array as the default type. This isn't perfect, but I thought it would be better than nothing.
* When exiting on SIGINT, exit with signal statuscracauer1998-08-241-1/+9
|
* Fixed printf format errors.bde1998-07-061-3/+3
|
* include sys so it builds on 2.2.xjmg1998-01-071-2/+2
| | | | also, fix misspelling of -1 (as EOF for getopt)
* Sort Xrefs. Use err(3). Remove uneeded #include.charnier1998-01-051-23/+24
| | | | | | Correct usage: one of {-p pid, command} is required. Open output file when command line is fully analyzed: incorrect `truss -o f' command does not create an empty file anymore.
* Add some copyright and license terms, at Jordan's request. Note thatsef1997-12-201-1/+33
| | | | syscall.h just refers to another file for the copyright notice.
* Change the ioctls for procfs around a bit; in particular, whever possible,sef1997-12-131-2/+2
| | | | | | | | | | | | | | change from ioctl(fd, PIOC<foo>, &i); to ioctl(fd, PIOC<foo>, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :).
* Complain about empty command lines.sef1997-12-061-2/+2
|
* recognize "FreeBSD ELF" as an executable typepeter1997-12-061-2/+3
| | | | close() takes a fd, not a char * :-)
* #include <unistd.h> to get it to compilepeter1997-12-061-1/+2
| | | | Submitted by: Andreas Klemm <andreas@klemm.gtn.com>
* Truss program. Requires procfs.sef1997-12-061-0/+201
OpenPOWER on IntegriCloud