Commit Graph

18 Commits

Author SHA1 Message Date
lukem
d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
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
kleink
dc2dac7564 G/C the manual pages for getpw(3), vlimit(3) and vtimes(3). Although stated
in the manuals, these interfaces don't actually exist in libcompat and it isn't
likely that anyone needs nor actually implementents them; in fact,
<sys/vlimit.h> was removed recently.
1999-08-22 12:43:51 +00:00
simonb
1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
christos
d2cc1353b8 Cast to unsigned short to avoid loss of precision message. 1999-05-04 17:08:32 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
fair
6b57aa9fdc fix mdoc references 1998-04-28 23:03:56 +00:00
perry
312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
mikel
7ff744c57e xref time(3) instead of time(2) 1997-10-18 06:43:38 +00:00
lukem
e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
mycroft
7227af1293 Document that the time zone is obselete, add an xref to localtime(3), and
correct the HISTORY section.
1997-10-09 05:05:35 +00:00
pk
dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
jtc
edcbc4e64c Changed formatting of manpage cross references to use .Xr macro.
Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703)
1995-01-13 01:15:53 +00:00
cgd
395cddf518 make stty and gtty real function stubs (they're now gone from ioctl_compat.h). 1994-05-21 05:20:25 +00:00
cgd
a34c9134ca oops! 1994-05-06 06:42:21 +00:00
cgd
9f670da25f update 1994-05-06 06:25:29 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
cgd
91ac7bf11a added libcompat for compatibility routines, like ftime, etc. 1993-03-23 10:14:55 +00:00