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
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
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
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
Makefile
mbufs.c
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
systat.1
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