Commit Graph

171 Commits

Author SHA1 Message Date
kleink
7c5f290f7e Add a mutex to protect the state. 1998-09-09 12:27:32 +00:00
lukem
ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
perry
69d1215a28 make memcpy into memmove in some cases 1998-08-26 00:29:29 +00:00
perry
a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
ross
871fe159d1 English. 1998-07-29 03:38:30 +00:00
mycroft
982e920022 const poisoning. 1998-07-26 14:13:00 +00:00
mycroft
9ad899cc18 constify some tables. 1998-07-26 11:24:14 +00:00
kleink
e4baf78ef2 It's 1998, actually. 1998-06-14 17:54:59 +00:00
kleink
d393974f10 Add a manual page for a64l() and l64a(). 1998-06-14 17:47:15 +00:00
kleink
d4cc868265 Per XPG4.2, if the `value' argument evaluates to 0L, don't return a NULL
pointer but a pointer to an empty string.
1998-06-14 17:28:15 +00:00
fair
aba63e6a51 fix mdoc references and mistakes 1998-04-28 21:19:49 +00:00
fair
c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
perry
ebc2166ef6 changes to (partially) quiet lint. 1998-02-28 00:09:45 +00:00
kleink
5f311d2174 Cast size_t to long for printing. 1998-02-06 14:35:46 +00:00
kleink
ee3e47997f Update standards section for putenv(). 1998-02-06 13:53:17 +00:00
perry
312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
kleink
df0d6631b5 Per XPG4.2, change the `n' argument of initstate() to size_t. (Since it was
recently changed from int to long (lite-2 import), I saw no reason to delay
this `alignment'.)
1998-02-04 21:06:14 +00:00
perry
a16d9e868b .Bx'ize 1998-02-03 21:42:54 +00:00
perry
c8bafd6265 remove obsolete register declarations 1998-02-03 18:38:12 +00:00
mycroft
51c4c84e39 Nuke `register', deal with GCC warnings. 1998-02-03 01:48:30 +00:00
mycroft
a0326f2ee6 Nuke `register'. 1998-02-03 01:46:27 +00:00
mycroft
704290aaa1 Deal with GCC warning. 1998-02-03 01:40:49 +00:00
perry
c52ced5ca9 include <unistd.h> instead of <stdlib.h> to fix a compile error caused
by the fact that the prototype for getopt has moved to unistd.h
1998-02-03 01:30:17 +00:00
perry
764a8201df realpath is now part of getcwd.c in gen/; man page moved to gen, too. 1998-02-02 23:20:35 +00:00
frueauf
d922341864 Add _strtoq.c back to SRCS+= which seemed to get lost while reordering it. 1998-02-01 14:03:47 +00:00
thorpej
163c89fb8a Pull in <string.h> to get strcmp() prototype. 1998-01-31 20:43:48 +00:00
thorpej
edf59accb5 RCS ID police, and add explicit return value to getsubopt(). 1998-01-31 20:41:39 +00:00
perry
5f8a6c06f3 update to lite-2 1998-01-30 23:37:40 +00:00
perry
78ef0c30cb import lite-2 1998-01-30 21:42:13 +00:00
perry
b51ed80fd5 RCS Id Police. 1998-01-09 04:11:49 +00:00
perry
4e067afcb1 RCS Id Police. 1998-01-09 03:15:09 +00:00
enami
2b952b2261 Remove an extra comma at the end of SEE ALSO list. 1997-11-18 07:00:48 +00:00
enami
dafe39d6fe Use .Sh RETURN VALUES instead of .Pp, as malloc.3 or free.3 does. 1997-11-18 06:58:46 +00:00
mrg
4e252e8c4d add missing .Nm entries. from spz@serpens.swb.de. 1997-11-14 02:04:36 +00:00
cgd
023cd79c6b lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
cgd
4d7e773266 A foolish consistency... gen, net, and string all get MD sources
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
1997-11-05 22:59:37 +00:00
thorpej
2a43f22095 __warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-04 23:52:05 +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
thorpej
335d6b9922 Do the non-__indr_reference versions like the cat*(3) functions. 1997-07-17 21:15:33 +00:00
mikel
53609ce7ee xref getpagesize(3) not obsolete getpagesize(2), sort xrefs 1997-07-15 07:05:31 +00:00
mikel
95ca30804f xref getpagesize(3) not nonexistent pagesize(2), sort xrefs 1997-07-15 07:03:25 +00:00
kleink
e9118660e4 Link rand_r(3) to rand(3). 1997-07-15 00:42:29 +00:00
kleink
1d8b7c1279 Document rand_r(). 1997-07-15 00:42:01 +00:00
christos
bd9067774f Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
1997-07-13 20:16:31 +00:00
mikel
3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mikel
109d917438 avoid unportable arithmetic on void pointers 1997-06-19 07:41:32 +00:00
mikel
2acd0ee09a optarg -> optstring and rewording from Brian Grayson in PR misc/3697. 1997-06-04 06:42:38 +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
kleink
3edccf530b * Remove incorrect comment: as per POSIX.1, calling abort() _does_ flush
and close open streams.
* Document that calling abort() removes temporary files.
Fixes PR/2967 from Peter Seebach <seebs@taniemarie.solon.com>.
1997-05-19 02:22:42 +00:00
kleink
09ad86b260 Remove misleading comment in abort() function; fixes PR/2966 from
Peter Seebach <seebs@taniemarie.solon.com>.
1997-05-19 02:18:14 +00:00