freebsd-dev/usr.bin/systat
Ed Schouten 902d9eafbf Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
..
cmds.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
cmdtab.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
convtbl.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
convtbl.h
devs.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
devs.h
extern.h Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
fetch.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
icmp6.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
icmp.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
ifcmds.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
ifstat.c Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
iostat.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
ip6.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ip.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
keyboard.c Use integer to store the result of getch(). 2011-10-16 08:36:10 +00:00
main.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
Makefile Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
mbufs.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
mode.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
mode.h Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
netcmds.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
netstat.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
pigs.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
swap.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
systat.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
systat.h Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00
tcp.c Whitespace fixes. 2012-02-05 09:17:49 +00:00
vmstat.c Fix whitespace inconsistencies in systat(1). 2011-10-15 13:20:36 +00:00