NetBSD/lib/libcompat
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
..
4.1 * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
4.3 * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
4.4 * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
regexp * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
Makefile G/C the manual pages for getpw(3), vlimit(3) and vtimes(3). Although stated 1999-08-22 12:43:51 +00:00