freebsd-nq/usr.bin/netstat
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
atalk.c Revert r228650, and work around the clang false positive with printf 2011-12-17 22:32:00 +00:00
bpf.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
if.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
inet6.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
inet.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
ipsec.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
ipx.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
main.c - Merge in OFED 1.5.3 from projects/ofed/head 2011-03-21 09:58:24 +00:00
Makefile Revert r228650, and work around the clang false positive with printf 2011-12-17 22:32:00 +00:00
mbuf.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
mroute6.c
mroute.c
netgraph.c Now fix functionality of 'netstat -f netgraph' that hasn't worked 2010-03-12 15:04:59 +00:00
netisr.c Teach netstat(1) about the new global netisr policy sysctl, 2011-05-24 12:38:00 +00:00
netstat.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
netstat.h - Hide the internal scope address representation of the KAME IPv6 2011-01-20 15:22:01 +00:00
pfkey.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
route.c - Hide the internal scope address representation of the KAME IPv6 2011-01-20 15:22:01 +00:00
sctp.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
unix.c Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00