1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/systat
Jaakko Heinonen c2dbb0de27 - Catch SIGHUP to perform cleanup before exiting.
- Exit if getch() returns with an error other than EINTR. Otherwise
  systat(1) may get stuck in an infinite loop if it doesn't receive
  SIGHUP when terminal closes. [1]
- Remove attempt to clear stdio error indicators. getch() doesn't use
  stdio, making it useless. [2]
- Remove unneeded masking of getch() return value. [2]

PR:		bin/107171
Reviewed by:	bde
Approved by:	trasz (mentor)
Obtained from:	OpenBSD [1]
Suggested by:	bde [2]
MFC after:	1 month
2009-10-11 12:32:25 +00:00
..
cmds.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
cmdtab.c
convtbl.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
convtbl.h
devs.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
devs.h
extern.h
fetch.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
icmp6.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
icmp.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
ifcmds.c
ifstat.c
iostat.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
ip6.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
ip.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
keyboard.c - Catch SIGHUP to perform cleanup before exiting. 2009-10-11 12:32:25 +00:00
main.c - Catch SIGHUP to perform cleanup before exiting. 2009-10-11 12:32:25 +00:00
Makefile
mbufs.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
mode.c
mode.h
netcmds.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
netstat.c Correct a number of evolved problems with inp_vflag and inp_flags: 2009-03-15 09:58:31 +00:00
pigs.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
swap.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
systat.1
systat.h
tcp.c ANSIfy and remove register. 2008-01-16 19:27:43 +00:00
vmstat.c Update top and systat for vfs.bufcache now being a long rather than an int. 2009-03-10 15:25:19 +00:00