Commit Graph

39 Commits

Author SHA1 Message Date
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz dfc3de691c Drop an unnecessary .Pp. 2002-01-15 02:39:08 +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
simonb 1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
mycroft 965a95625c Copy into a local buffer rather than using the getpw*() buffer. 1998-07-26 19:31:35 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry 741740203c remove obsolete register declarations 1998-02-03 18:49:08 +00:00
christos 3ecdd3624c Moved timezone, swapon and getdirentries back to libc. 1997-10-20 15:49:39 +00:00
christos 58b5d748a3 Remove namespace cruft and add a prototype for tztab 1997-10-16 23:02:16 +00:00
christos f4f1c47f83 Moved by repository magick...
put in their description that they are obsolete and name by what function
if appropriate.
1997-10-16 23:00:26 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
fvdl e03a6d4d3e Add new getdents() syscall, provide compat code for old getdirentries. 1997-10-10 02:15:44 +00:00
lukem e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
christos 615413beb6 Include "extern.h" to get prototype for _tztab
Fix gcc warnings.
Fix RCSID's
1997-07-13 19:35:08 +00:00
mrg 7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
cgd 4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
cgd 9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +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
jtc 66a7b96e20 Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
1994-05-19 06:20:17 +00:00
cgd 74c187c292 update 1994-05-06 06:25:33 +00:00
jtc 38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc 584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc 250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc 6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
jtc 9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 0e9c8e4524 Add RCS identifiers. 1993-07-30 08:34:38 +00:00
mycroft f23f94cb77 Add even more RCS frobs. 1993-07-30 08:21:41 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00