freebsd-nq/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
cmdtab.c
convtbl.c
convtbl.h
devs.c
devs.h
extern.h
fetch.c
icmp6.c
icmp.c
ifcmds.c
ifstat.c
iostat.c
ip6.c
ip.c
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
mode.c
mode.h
netcmds.c
netstat.c
pigs.c
swap.c
systat.1
systat.h
tcp.c
vmstat.c