NetBSD/lib/libutil
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
..
fparseln.3 More trailing white space. 1999-07-02 15:46:05 +00:00
fparseln.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
getmaxpartitions.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getmaxpartitions.c Fix files using old TNF copyright notice 1997-07-31 00:01:15 +00:00
getrawpartition.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
getrawpartition.c More trailing white space. 1999-07-02 15:46:05 +00:00
login_tty.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
login.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
login.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
logout.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
logwtmp.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
Makefile More trailing white space. 1999-07-02 15:46:05 +00:00
opendisk.3 More trailing white space. 1999-07-02 15:46:05 +00:00
opendisk.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
openpty.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
passwd.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
pidfile.3 Add pidfile(3), which write a pid file in /var/run, and arranges for it 1999-06-06 01:50:00 +00:00
pidfile.c Use asprintf(3), as suggested by Simon Burge. 1999-06-06 17:31:09 +00:00
pidlock.3 don't need trailing empty paragraph 1998-06-08 10:58:45 +00:00
pidlock.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
pty.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
pw_init.3 move pw_scan() out of here (into libc) 1998-06-08 03:12:45 +00:00
pw_lock.3 add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
shlib_version Add pidfile(3), which write a pid file in /var/run, and arranges for it 1999-06-06 01:50:00 +00:00
ttyaction.3 Execute ttyaction on termination of rlogind/telnetd sessions. 1998-08-29 17:31:55 +00:00
ttyaction.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00
ttymsg.3 Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 19:44:33 +00:00
ttymsg.c * use _DIAGASSERT() to check pointer arguments against NULL and file 1999-09-16 11:44:54 +00:00