freebsd-nq/lib/libc/net
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
..
base64.c
byteorder.3
ether_addr.c
ethers.3 Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
eui64.3 Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
eui64.c
gai_strerror.3
gai_strerror.c
getaddrinfo.3
getaddrinfo.c
gethostbydns.c Correct the return code from _dns_gethostby*() to correspond 2010-08-15 16:28:08 +00:00
gethostbyht.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
gethostbyname.3
gethostbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
gethostnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getifaddrs.3
getifaddrs.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
getifmaddrs.3
getifmaddrs.c
getipnodebyname.3
getnameinfo.3
getnameinfo.c
getnetbydns.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbyht.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
getnetent.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getnetnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getproto.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoent.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getprotoent.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoname.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getservent.3
getservent.c Use the stored length value instead of calculating it by strlen(). 2010-04-06 12:33:05 +00:00
hesiod.3
hesiod.c Fix struct FILE * leak on error (in disabled by default hesiod support code). 2011-01-08 10:56:58 +00:00
if_indextoname.3
if_indextoname.c
if_nameindex.c
if_nametoindex.c
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
inet6_rthdr_space.3
inet_net.3
inet.3
ip6opt.c
linkaddr.3
linkaddr.c
Makefile.inc
map_v4v6.c
name6.c
netdb_private.h
nscache.c
nscachedcli.c
nsdispatch.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
nsdispatch.c Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] 2011-12-23 15:00:37 +00:00
nslexer.l Clang related fixes: 2010-10-13 16:57:06 +00:00
nsparser.y
nss_backends.h
nss_compat.c
ntoh.c
rcmd.3
rcmd.c
rcmdsh.3
rcmdsh.c
recv.c
res_config.h
resolver.3
rthdr.c
sctp_bindx.3
sctp_connectx.3
sctp_freepaddrs.3
sctp_getaddrlen.3 Spelling fixes. 2010-08-02 16:01:45 +00:00
sctp_getassocid.3
sctp_getpaddrs.3
sctp_opt_info.3 Document the latest changes to sctp_opt_info() in the code. 2011-06-18 10:36:05 +00:00
sctp_recvmsg.3 Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
sctp_send.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sendmsg.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sys_calls.c Address warnings found by clang. 2011-12-17 14:55:19 +00:00
send.c
sockatmark.3
sockatmark.c
sourcefilter.3
sourcefilter.c
Symbol.map Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
vars.c