NetBSD/lib/libc/net
lukem b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
..
__dn_comp.c
__res_close.c This file was incorrect. The indirect name is res_close(), 1999-08-17 03:57:15 +00:00
__res_send.c
_inet_aton.c Add indirect reference stubs for inet_[ap]ton() for environments not supporting 1999-09-15 14:21:01 +00:00
_inet_pton.c Add indirect reference stubs for inet_[ap]ton() for environments not supporting 1999-09-15 14:21:01 +00:00
base64.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
byteorder.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
ethers.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
ethers.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
getaddrinfo.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
getaddrinfo.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
gethnamaddr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
gethostbyname.3 document gethostbyname2(). 1999-07-01 18:18:27 +00:00
getnameinfo.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
getnameinfo.c Need "namespace.h". 1999-08-22 12:54:02 +00:00
getnetent.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getnetent.c
getnetnamadr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
getproto.c
getprotoent.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getprotoent.c
getprotoname.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
getservbyname.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
getservbyport.c
getservent.3 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
getservent.c
herror.c
hesiod.3
hesiod.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
htonl.c
htons.c
if_indextoname.3 Add missing LIBRARY sections. 1999-07-03 13:58:31 +00:00
ifname.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_lnaof.c
inet_makeaddr.c
inet_net_ntop.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_net_pton.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_net.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
inet_neta.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_netof.c
inet_network.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_ntoa.c
inet_ntop.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet_pton.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
inet.3 Add a reference to XNS5.2 D2.0 for inet_{ntop,pton}(). 1999-07-03 14:16:12 +00:00
ip6opt.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
iso_addr.3
iso_addr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
linkaddr.3 Clarify that sdl->sdl_len must be initialized before call to link_addr() 1999-06-25 16:13:21 +00:00
linkaddr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
Lint_htonl.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_htons.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_ntohl.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Lint_ntohs.c Make these work again, by undef'ing the macro that could cause syntax errors. 1999-05-03 13:12:34 +00:00
Makefile.inc Add indirect reference stubs for inet_[ap]ton() for environments not supporting 1999-09-15 14:21:01 +00:00
ns_addr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
ns_ntoa.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
ns.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
nsap_addr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
nsdispatch.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
nsdispatch.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
nslexer.l Need "namespace.h". 1999-07-02 15:27:08 +00:00
nsparser.y * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
ntohl.c
ntohs.c
rcmd.3 add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
rcmd.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
recv.c
res_comp.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
res_data.c
res_debug.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
res_init.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
res_mkquery.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
res_query.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
res_send.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
resolver.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
rthdr.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
send.c
sethostent.c
vars6.c add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00