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
..
1999-03-22 19:03:38 +00:00
1999-01-18 20:36:32 +00:00
1999-03-24 06:14:18 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00
1999-09-12 19:04:30 +00:00
1999-09-13 18:36:02 +00:00
1999-04-25 14:56:10 +00:00
1999-03-02 14:02:02 +00:00
1999-08-29 18:55:29 +00:00
1998-12-02 09:47:20 +00:00
1998-12-02 09:47:20 +00:00
1999-01-29 22:23:54 +00:00
1999-04-06 04:54:19 +00:00
1999-05-26 15:39:36 +00:00
1999-04-06 20:24:37 +00:00
1999-08-17 03:43:59 +00:00
1999-05-03 14:35:46 +00:00
1999-02-16 19:36:52 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00
1999-03-24 06:14:18 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00
1999-08-17 03:43:59 +00:00