Home | History | Annotate | only in /src/lib/libc/compat-43
History log of /src/lib/libc/compat-43
RevisionDateAuthorComments
 1.16 24-Apr-2006  drochner add an #include path for sigcompat.c to get at <sys/compat>; this
file is a mix of official and compat functions, and until this is
sorted out the extra path is needed to build a "legacy free" libc
 1.15 24-Feb-1999  drochner use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
 1.14 27-Jul-1998  mycroft If AUDIT, do not compile certain functions.
 1.13 02-Feb-1998  perry merge lite-2
 1.12 09-Oct-1997  lukem rcsid police
 1.11 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.10 22-Dec-1994  cgd branches: 1.10.2; 1.10.8;
specify man pages the new way.
 1.9 14-Jun-1994  jtc Convert getdtablesize() from syscall to function
 1.8 13-Jun-1994  cgd these are library routines, not syscalls. per jtc's suggestion.
 1.7 07-May-1994  cgd hostid functions
 1.6 10-Apr-1994  cgd print warnings, and use a helper function, to optimize...
 1.5 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.4 04-Dec-1993  cgd update for .S and MACHINE_ARCH
 1.3 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.8.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.10.2.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.2 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.1 10-Apr-1994  cgd branches: 1.1.4; 1.1.10;
print warnings, and use a helper function, to optimize...
 1.1.10.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.1.4.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.2 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.1 10-Apr-1994  cgd branches: 1.1.4; 1.1.10;
print warnings, and use a helper function, to optimize...
 1.1.10.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.1.4.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.8 01-Mar-1995  mycroft Clean up deleted files.
 1.7 18-May-1994  jtc Fix required #include files and function prototype.
 1.6 15-Dec-1993  jtc Add explicit return type in SYNOPSIS section.
 1.5 15-Dec-1993  jtc Tell user to #include <fcntl.h>.
 1.4 25-Nov-1993  jtc Misc manpage fixes.
 1.3 04-Oct-1993  jtc Note that creat() conforms to 1003.1-90.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17 01-Sep-2019  sevan create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
 1.16 07-Aug-2003  agc branches: 1.16.98; 1.16.100;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.15 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.14 07-Feb-2002  ross Generate <>& symbolically.
 1.13 22-Mar-1999  garbled branches: 1.13.12;
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!
 1.12 29-Aug-1998  lukem 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.
 1.11 05-Feb-1998  perry add LIBRARY section to man page
 1.10 02-Feb-1998  perry merge lite-2
 1.9 09-Oct-1997  lukem rcsid police
 1.8 13-Jun-1994  cgd these are library routines, not syscalls. per jtc's suggestion.
 1.7 18-May-1994  jtc Fix required #include files and function prototype.
 1.6 15-Dec-1993  jtc Add explicit return type in SYNOPSIS section.
 1.5 15-Dec-1993  jtc Tell user to #include <fcntl.h>.
 1.4 25-Nov-1993  jtc Misc manpage fixes.
 1.3 04-Oct-1993  jtc Note that creat() conforms to 1003.1-90.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.12.2 22-Mar-2002  nathanw Catch up to -current.
 1.13.12.1 08-Mar-2002  nathanw Catch up to -current.
 1.16.100.1 05-Sep-2019  martin Pull up following revision(s) (requested by sevan in ticket #174):
lib/libc/sys/chmod.2: revision 1.48
lib/libc/sys/stat.2: revision 1.59
lib/libc/sys/unlink.2: revision 1.30
lib/libc/sys/lseek.2: revision 1.25
lib/libc/sys/getuid.2: revision 1.18
lib/libc/sys/chown.2: revision 1.37
lib/libm/man/exp.3: revision 1.32
lib/libm/man/log.3: revision 1.7
lib/libc/sys/open.2: revision 1.60
lib/libc/stdio/fopen.3: revision 1.36
lib/libc/stdio/putc.3: revision 1.14
lib/libc/sys/mount.2: revision 1.51
share/man/man9/copy.9: revision 1.22
share/man/man9/uiomove.9: revision 1.20
lib/libc/sys/setuid.2: revision 1.23
lib/libc/sys/close.2: revision 1.18
sbin/init/init.8: revision 1.61
lib/libc/sys/write.2: revision 1.36
lib/libc/sys/read.2: revision 1.39
sbin/init/init.8: revision 1.62
lib/libc/sys/wait.2: revision 1.40
usr.bin/tty/tty.1: revision 1.10
lib/libc/sys/link.2: revision 1.33
usr.bin/du/du.1: revision 1.24
lib/libc/stdlib/exit.3: revision 1.17
usr.bin/su/su.1: revision 1.53
usr.bin/mail/mail.1: revision 1.66
lib/libc/sys/fork.2: revision 1.25
usr.bin/su/su.1: revision 1.54
usr.bin/mail/mail.1: revision 1.67
lib/libm/man/sin.3: revision 1.15
share/man/man9/intro.9: revision 1.26
share/man/man5/utmp.5: revision 1.17
lib/libc/compat-43/creat.3: revision 1.17
lib/libc/time/ctime.3: revision 1.61
lib/libcompat/4.1/stty.3: revision 1.10
usr.bin/dc/dc.1: revision 1.3
lib/libm/man/cos.3: revision 1.17
lib/libc/sys/chdir.2: revision 1.23
lib/libc/gen/exec.3: revision 1.30
lib/libc/gen/exec.3: revision 1.31
games/bcd/bcd.6: revision 1.18
games/bcd/bcd.6: revision 1.19
usr.bin/write/write.1: revision 1.7
usr.bin/wc/wc.1: revision 1.18
usr.bin/pr/pr.1: revision 1.24
usr.bin/who/who.1: revision 1.25
lib/libc/sys/mkdir.2: revision 1.30
lib/libc/stdio/getc.3: revision 1.13
usr.bin/sort/sort.1: revision 1.40
usr.bin/mesg/mesg.1: revision 1.11
share/man/man5/passwd.5: revision 1.34
sort was there since v1
https://www.bell-labs.com/usr/dmr/www/man61.pdf

dc was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

du was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mail was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mesg was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

su was in v1
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man14.pdf
Update URL

write was in v1
https://www.bell-labs.com/usr/dmr/www/man14.pdf
grammar

passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5

Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf

getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf

mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

start documenting history
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which
version,
hence I've skipped mentioning it.
End sentence with a dot.
Remove superfluous Pp.
Remove superfluous Pp.
Remove superfluous Ns.
Remove superfluous Pp.
fetch(9) -> ufetch(9)
fetch(9) -> ufetch(9). Remove superfluous Pp.
fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
 1.16.98.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.9 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.8 20-Sep-1999  lukem branches: 1.8.10;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.7 16-Sep-1999  lukem * 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
 1.6 02-Feb-1998  perry merge lite-2
 1.5 13-Jul-1997  christos Fix RCSID's
 1.4 11-Nov-1993  jtc branches: 1.4.4;
First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.4.1 02-May-1995  jtc #include "namespace.h"
 1.8.10.1 21-Jun-2002  nathanw Catch up to -current.
 1.14 05-Jan-2012  yamt move the most of description to an appropriate section, HISTORY.
 1.13 07-Aug-2003  agc branches: 1.13.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.11 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.10 07-Feb-2002  ross Generate <>& symbolically.
 1.9 22-Mar-1999  garbled branches: 1.9.12;
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!
 1.8 05-Feb-1998  perry add LIBRARY section to man page
 1.7 02-Feb-1998  perry merge lite-2
 1.6 09-Oct-1997  lukem rcsid police
 1.5 06-Mar-1996  jtc Added getrlimit(2) and sysconf(3) cross references
 1.4 14-Jun-1994  jtc Convert getdtablesize() from syscall to function
 1.3 25-Nov-1993  jtc 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.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.12.3 18-Oct-2002  nathanw Catch up to -current.
 1.9.12.2 22-Mar-2002  nathanw Catch up to -current.
 1.9.12.1 08-Mar-2002  nathanw Catch up to -current.
 1.13.56.1 17-Apr-2012  yamt sync with head
 1.10 24-Jun-2012  christos fix old style definitions; XXX: gcc should have picked them up but it did not.
 1.9 26-Jul-2003  salo branches: 1.9.56;
netbsd.org->NetBSD.org
 1.8 18-Oct-1998  kleink Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
need for an internal name for the former any more; suggested by Matthew Green.
 1.7 08-Oct-1998  kleink Add an internal name for getdtablesize(), since it's being used internally.
 1.6 27-Feb-1998  perry trivial changes to quiet lint.
 1.5 21-Jul-1997  jtc 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>.
 1.4 13-Jul-1997  christos Fix RCSID's
 1.3 11-May-1995  jtc Winning Strategies has placed this code in the public domain.
 1.2 14-Jun-1994  cgd fix missing trailing newline
 1.1 14-Jun-1994  jtc Convert getdtablesize() from syscall to function
 1.9.56.1 30-Oct-2012  yamt sync with head
 1.13 03-Mar-2019  maya s/a DARPA Internet address/an Internet address/

From OpenBSD.
 1.12 07-Aug-2003  agc branches: 1.12.98;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.10 07-Feb-2002  ross Generate <>& symbolically.
 1.9 16-Sep-2001  wiz Sort sections and SEE ALSO.
 1.8 16-Sep-2001  wiz Boring whitespace fixes.
 1.7 22-Mar-1999  garbled branches: 1.7.12;
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!
 1.6 29-Aug-1998  lukem 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.
 1.5 28-Apr-1998  fair Change occurrences of "UNIX" to .Ux or .At as appropriate.
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 15-Dec-1994  jtc Fix cross references: sysctl(2) -> sysctl(3) (PR #643).
 1.1 07-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 07-May-1994  cgd hostid functions
 1.7.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.7.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.7.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.12.98.1 10-Jun-2019  christos Sync with HEAD
 1.6 19-Apr-2004  atatat The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int". Therefore, stop pretending that it's a long, since that can
incur bizarre failure modes if the types also don't have the same size
(sparc64, alpha, etc).
 1.5 07-Aug-2003  agc branches: 1.5.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.3 21-Jul-1997  jtc branches: 1.3.14;
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>.
 1.2 13-Jul-1997  christos Fix RCSID's
Add missing unistd.h include
 1.1 07-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 07-May-1994  cgd hostid functions
 1.3.14.1 21-Jun-2002  nathanw Catch up to -current.
 1.5.2.1 21-Apr-2004  jmc Pullup rev 1.6 (requested by atatat in ticket #162)

The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int". Therefore, stop pretending that its a long, since that can
incur bizarre failure modes if the types also dont have the same size
(sparc64, alpha, etc).
 1.15 25-Jun-2012  abs Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.14 07-Aug-2003  agc branches: 1.14.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.13 17-Nov-2002  itojun use strlcpy where it is more appropriate.
 1.12 22-Jan-2000  mycroft branches: 1.12.6;
Delint.
 1.11 20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.10 16-Sep-1999  lukem * 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
 1.9 14-Nov-1998  christos ifdef out __warn_references if we are linting.
 1.8 08-Jun-1998  lukem warn_refs getwd
 1.7 02-Feb-1998  perry merge lite-2
 1.6 21-Jul-1997  jtc 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>.
 1.5 13-Jul-1997  christos Fix assignment in if
Fix RCSID's
 1.4 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.12.6.1 10-Dec-2002  thorpej Sync with HEAD.
 1.14.56.1 30-Oct-2012  yamt sync with head
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.15 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.14 01-Oct-2002  wiz -1 -> \-1.
 1.13 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.12 07-Feb-2002  ross Generate <>& symbolically.
 1.11 16-Sep-2001  wiz Sort sections and SEE ALSO.
 1.10 22-Mar-1999  garbled branches: 1.10.12;
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!
 1.9 29-Aug-1998  lukem 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.
 1.8 05-Feb-1998  perry add LIBRARY section to man page
 1.7 02-Feb-1998  perry merge lite-2
 1.6 09-Oct-1997  lukem rcsid police
 1.5 05-Dec-1994  jtc Changed <sys/signal.h> to <signal.h>.
Most BSD derived OS's now document these legacy functions with a <signal.h>
API. This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
 1.4 13-Jun-1994  cgd these are library routines, not syscalls. per jtc's suggestion.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.12.4 18-Oct-2002  nathanw Catch up to -current.
 1.10.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.10.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.10.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.10 14-Jul-2024  kre PR kern/58425 -- Disallow INT_MIN as a (negative) pid arg.

Since -INT_MIN is undefined, and to point of negative pid args is
to negate them, and use the result as a pgrp id instead, we need
to avoid accidentally negating INT_MIN.

Since pid_t is just an integral type, of unspecified width, when
testing pid_t value test for <= INT_MIN (or > INT_MIN sometimes)
rather than == INT_MIN. When testing int values, just == INT_MIN
is all that is needed, < INT_MIN cannot occur.

XXX pullup -9, -10
 1.9 04-Jan-2018  kamil branches: 1.9.6; 1.9.14; 1.9.16;
Add bunch of missing includes of namespace.h in libc

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global changes of the following symbols:
- strlcat -> _strlcat
- sysconf -> __sysconf
- closedir -> _closedir
- fparseln -> _fparseln
- kill -> _kill
- mkstemp -> _mkstemp
- reallocarr -> _reallocarr
- strcasecmp -> _strcasecmp
- strncasecmp -> _strncasecmp
- strptime -> _strptime
- strtok_r -> _strtok_r
- sysctl -> _sysctl
- dlopen -> __dlopen
- dlclose -> __dlclose
- dlsym -> __dlsym

Sponsored by <The NetBSD Foundation>
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.6 02-Feb-1998  perry branches: 1.6.12;
merge lite-2
 1.5 13-Jul-1997  christos Fix RCSID's
 1.4 11-Nov-1993  jtc branches: 1.4.4;
First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.4.1 02-May-1995  jtc #include "namespace.h"
 1.6.12.2 08-Jan-2003  thorpej Need an internal name for kill().
 1.6.12.1 21-Jun-2002  nathanw Catch up to -current.
 1.9.16.1 02-Aug-2025  perseant Sync with HEAD
 1.9.14.1 07-Aug-2024  martin Pull up following revision(s) (requested by kre in ticket #773):

sys/kern/kern_proc.c: revision 1.276
sys/kern/kern_ktrace.c: revision 1.185
sys/kern/sys_sig.c: revision 1.58
sys/kern/kern_descrip.c: revision 1.263
lib/libc/compat-43/killpg.c: revision 1.10
sys/kern/tty.c: revision 1.313
tests/lib/libc/sys/t_kill.c: revision 1.2

PR kern/58425 -- Disallow INT_MIN as a (negative) pid arg.

Since -INT_MIN is undefined, and to point of negative pid args is
to negate them, and use the result as a pgrp id instead, we need
to avoid accidentally negating INT_MIN.

Since pid_t is just an integral type, of unspecified width, when
testing pid_t value test for <= INT_MIN (or > INT_MIN sometimes)
rather than == INT_MIN. When testing int values, just == INT_MIN
is all that is needed, < INT_MIN cannot occur.

tests/lib/libc/sys/t_kill: Test kill(INT_MIN, ...) fails with ESRCH.
PR kern/58425
 1.9.6.1 07-Aug-2024  martin Pull up following revision(s) (requested by kre in ticket #1859):

sys/kern/kern_proc.c: revision 1.276 (via patch)
sys/kern/kern_ktrace.c: revision 1.185 (via patch)
sys/kern/sys_sig.c: revision 1.58 (via patch)
sys/kern/kern_descrip.c: revision 1.263 (via patch)
lib/libc/compat-43/killpg.c: revision 1.10
sys/kern/tty.c: revision 1.313 (via patch)
tests/lib/libc/sys/t_kill.c: revision 1.2

PR kern/58425 -- Disallow INT_MIN as a (negative) pid arg.
Since -INT_MIN is undefined, and to point of negative pid args is
to negate them, and use the result as a pgrp id instead, we need
to avoid accidentally negating INT_MIN.

Since pid_t is just an integral type, of unspecified width, when
testing pid_t value test for <= INT_MIN (or > INT_MIN sometimes)
rather than == INT_MIN. When testing int values, just == INT_MIN
is all that is needed, < INT_MIN cannot occur.

tests/lib/libc/sys/t_kill: Test kill(INT_MIN, ...) fails with ESRCH.
PR kern/58425
 1.7 19-Apr-2004  atatat The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int". Therefore, stop pretending that it's a long, since that can
incur bizarre failure modes if the types also don't have the same size
(sparc64, alpha, etc).
 1.6 07-Aug-2003  agc branches: 1.6.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.4 21-Jul-1997  jtc branches: 1.4.14;
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>.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 20-Dec-1996  cgd include unistd.h and fix up sethostid() return type (was long here, now int)
 1.1 07-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 07-May-1994  cgd hostid functions
 1.4.14.1 21-Jun-2002  nathanw Catch up to -current.
 1.6.2.1 21-Apr-2004  jmc Pullup rev 1.7 (requested by atatat in ticket #162)

The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int". Therefore, stop pretending that its a long, since that can
incur bizarre failure modes if the types also dont have the same size
(sparc64, alpha, etc).
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.6 02-Feb-1998  perry branches: 1.6.12;
merge lite-2
 1.5 13-Jul-1997  christos Fix RCSID's
 1.4 11-Nov-1993  jtc branches: 1.4.4;
First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.4.1 02-May-1995  jtc #include "namespace.h"
 1.6.12.1 21-Jun-2002  nathanw Catch up to -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.3 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.2 13-Jun-1994  cgd branches: 1.2.4; 1.2.10;
these are library routines, not syscalls. per jtc's suggestion.
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.2.10.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.2.4.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.6 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.5 21-Jul-1994  jtc branches: 1.5.2; 1.5.8;
Converted to use link-time warning messages.
 1.4 24-Apr-1994  mycroft branches: 1.4.2;
Get rid of extra calls to strlen().
 1.3 24-Apr-1994  mycroft Print the name of the program using a deprecated syscall.
 1.2 10-Apr-1994  cgd print warnings, and use a helper function, to optimize...
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.4.2.1 24-Jul-1994  cgd update from runk
 1.5.8.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.5.2.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.3 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.2 13-Jun-1994  cgd branches: 1.2.4; 1.2.10;
these are library routines, not syscalls. per jtc's suggestion.
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.2.10.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.2.4.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.6 23-Jun-1996  mycroft Remove the old (broken) setre[ug]id() emulation.
 1.5 21-Jul-1994  jtc branches: 1.5.2; 1.5.8;
Converted to use link-time warning messages.
 1.4 24-Apr-1994  mycroft branches: 1.4.2;
Get rid of extra calls to strlen().
 1.3 24-Apr-1994  mycroft Print the name of the program using a deprecated syscall.
 1.2 10-Apr-1994  cgd print warnings, and use a helper function, to optimize...
 1.1 06-Apr-1994  cgd M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.4.2.1 24-Jul-1994  cgd update from runk
 1.5.8.1 10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.5.2.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.10 25-Feb-1998  perry branches: 1.10.12;
explicitly coerce a -1 to gid_t to quiet lint.
 1.9 02-Feb-1998  perry merge lite-2
 1.8 04-Nov-1997  thorpej __warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.
 1.7 13-Jul-1997  christos branches: 1.7.2;
Fix RCSID's
 1.6 08-Jul-1996  thorpej Now that setreuid() and setregid() are system calls again, don't call
the C library "private" versions. Doing so results in unresolved
symbols the next time a dynamically linked program is run after the
new C library is installed.
 1.5 21-Jul-1994  jtc branches: 1.5.2; 1.5.8;
Converted to use link-time warning messages.
 1.4 24-Apr-1994  mycroft branches: 1.4.2;
Get rid of extra calls to strlen().
 1.3 24-Apr-1994  mycroft Print the name of the program using a deprecated syscall.
 1.2 10-Apr-1994  cgd print warnings, and use a helper function, to optimize...
 1.1 06-Apr-1994  cgd branches: 1.1.1;
M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.1.1.1 02-Feb-1998  perry import lite-2
 1.4.2.1 24-Jul-1994  cgd update from runk
 1.5.8.1 06-Mar-1997  mycroft Fix undefined symbols due to setre[ug]id() changes.
 1.5.2.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.7.2.1 04-Nov-1997  thorpej Pull up from trunk: __warn_references and __indr_reference semicolon fixups.
 1.10.12.1 21-Jun-2002  nathanw Catch up to -current.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.9 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.8 07-Feb-2002  ross Generate <>& symbolically.
 1.7 16-Sep-2001  wiz Sort sections and SEE ALSO.
 1.6 16-Sep-2001  wiz Boring whitespace fixes.
 1.5 22-Mar-1999  garbled branches: 1.5.12;
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!
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 1.3 02-Feb-1998  perry merge lite-2
 1.2 09-Oct-1997  lukem rcsid police
 1.1 06-Apr-1994  cgd branches: 1.1.1; 1.1.4;
M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.1.4.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.1.1.1 02-Feb-1998  perry import lite-2
 1.5.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.5.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.5.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.11 25-Feb-1998  perry branches: 1.11.12;
Coerce -1 to a (uid_t) to shut up lint.
 1.10 02-Feb-1998  perry merge lite-2
 1.9 04-Nov-1997  thorpej __warn_references and __indr_reference semicolon fixups. From
Chris Demetriou <cgd@pa.dec.com>.
 1.8 13-Jul-1997  christos branches: 1.8.2;
Fix RCSID's
 1.7 08-Jul-1996  thorpej Now that setreuid() and setregid() are system calls again, don't call
the C library "private" versions. Doing so results in unresolved
symbols the next time a dynamically linked program is run after the
new C library is installed.
 1.6 21-Jul-1994  jtc branches: 1.6.2; 1.6.8;
Converted to use link-time warning messages.
 1.5 24-Apr-1994  mycroft branches: 1.5.2;
Get rid of extra calls to strlen().
 1.4 24-Apr-1994  mycroft Print the name of the program using a deprecated syscall.
 1.3 12-Apr-1994  cgd fix warning.
 1.2 10-Apr-1994  cgd print warnings, and use a helper function, to optimize...
 1.1 06-Apr-1994  cgd branches: 1.1.1;
M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
 1.1.1.1 02-Feb-1998  perry import lite-2
 1.5.2.1 24-Jul-1994  cgd update from runk
 1.6.8.1 06-Mar-1997  mycroft Fix undefined symbols due to setre[ug]id() changes.
 1.6.2.1 25-Apr-1995  jtc nuke [sg]etre[ug]id().
 1.8.2.1 04-Nov-1997  thorpej Pull up from trunk: __warn_references and __indr_reference semicolon fixups.
 1.11.12.1 21-Jun-2002  nathanw Catch up to -current.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.16 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.15 04-Feb-2003  perry "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
 1.14 10-Aug-2002  wiz Sort sections. Update Dd for EXAMPLES addition.
 1.13 10-Aug-2002  yamt bring in EXAMPLES sections from openbsd.
 1.12 07-Feb-2002  ross Generate <>& symbolically.
 1.11 16-Sep-2001  wiz Boring whitespace fixes.
 1.10 22-Mar-1999  garbled branches: 1.10.12;
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!
 1.9 29-Aug-1998  lukem 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.
 1.8 05-Feb-1998  perry add LIBRARY section to man page
 1.7 02-Feb-1998  perry merge lite-2
 1.6 12-May-1997  mikel xref sigsetmask(3) not sigsetmask(2), and RCSid police.
 1.5 05-Dec-1994  jtc Changed <sys/signal.h> to <signal.h>.
Most BSD derived OS's now document these legacy functions with a <signal.h>
API. This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
 1.4 13-Jun-1994  cgd these are library routines, not syscalls. per jtc's suggestion.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.12.4 13-Aug-2002  nathanw Catch up to -current.
 1.10.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.10.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.10.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.13 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.12 13-Sep-2005  christos compat core reorg.
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 27-Sep-1998  christos Squash remnants of signal breakage... old sigvec() interface...
 1.9 26-Sep-1998  christos make it use posix signal system calls... Cannot play
int mask; sigfoo((sigset_t *) &mask) tricks any more...
 1.8 02-Feb-1998  perry merge lite-2
 1.7 13-Jul-1997  christos Fix RCSID's
 1.6 24-Feb-1994  cgd branches: 1.6.4;
don't do the (very) wrong thing in sigvec() if sv is NULL.
I found it, mycroft fixed it.
 1.5 31-Jan-1994  ws Don't try to change user's variables.
They might be static or even readonly.
 1.4 11-Nov-1993  jtc First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.4.1 02-May-1995  jtc #include "namespace.h"
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16 04-Dec-2022  uwe lib: Mark up error names in man pages with .Er
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.14 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.13 07-Feb-2002  ross Generate <>& symbolically.
 1.12 16-Sep-2001  wiz Boring whitespace fixes.
 1.11 22-Mar-1999  garbled branches: 1.11.12;
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!
 1.10 29-Aug-1998  lukem 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.
 1.9 05-Feb-1998  perry add LIBRARY section to man page
 1.8 02-Feb-1998  perry merge lite-2
 1.7 12-May-1997  mikel xref sig{block,setmask}(3) not sig{block,setmask}(2), and RCSid police.
 1.6 05-Dec-1994  jtc Changed <sys/signal.h> to <signal.h>.
Most BSD derived OS's now document these legacy functions with a <signal.h>
API. This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
 1.5 17-Oct-1994  cgd either change or update references to sigvec(), as appropriate
 1.4 13-Jun-1994  cgd branches: 1.4.2;
these are library routines, not syscalls. per jtc's suggestion.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 17-Oct-1994  cgd from trunk.
 1.11.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.11.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.11.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.19 06-May-2013  wiz End sentence with a dot.
 1.18 07-Aug-2003  agc branches: 1.18.56; 1.18.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.17 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.16 04-Feb-2003  perry "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
 1.15 10-Aug-2002  wiz Sort sections. Update Dd for EXAMPLES addition.
 1.14 10-Aug-2002  yamt bring in EXAMPLES sections from openbsd.
 1.13 07-Feb-2002  ross Generate <>& symbolically.
 1.12 16-Sep-2001  wiz Boring whitespace fixes.
 1.11 22-Mar-1999  garbled branches: 1.11.12;
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!
 1.10 29-Aug-1998  lukem 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.
 1.9 05-Feb-1998  perry add LIBRARY section to man page
 1.8 02-Feb-1998  perry merge lite-2
 1.7 12-May-1997  mikel xref sig{block,setmask}(3) not sig{block,setmask}(2), and RCSid police.
 1.6 05-Dec-1994  jtc Changed <sys/signal.h> to <signal.h>.
Most BSD derived OS's now document these legacy functions with a <signal.h>
API. This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
 1.5 17-Oct-1994  cgd either change or update references to sigvec(), as appropriate
 1.4 13-Jun-1994  cgd branches: 1.4.2;
these are library routines, not syscalls. per jtc's suggestion.
 1.3 01-Dec-1993  jtc Manpage formatting tweaks.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 17-Oct-1994  cgd from trunk.
 1.11.12.4 13-Aug-2002  nathanw Catch up to -current.
 1.11.12.3 22-Mar-2002  nathanw Catch up to -current.
 1.11.12.2 08-Mar-2002  nathanw Catch up to -current.
 1.11.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.18.62.1 23-Jun-2013  tls resync from head
 1.18.56.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 01-Mar-1995  mycroft Clean up deleted files.
 1.4 11-Jan-1994  jtc Fix spelling errors.
 1.3 29-Nov-1993  jtc Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.27 04-Dec-2022  uwe lib: Mark up error names in man pages with .Er
 1.26 22-Mar-2010  joerg Use .In for header files instead of .Ar Pa and variations.
 1.25 03-Dec-2005  wiz We have 2005.
 1.24 03-Dec-2005  christos match reality
 1.23 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.22 10-May-2003  wiz Misc. fixes from jmc@openbsd.
 1.21 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.20 07-Feb-2002  ross Generate <>& symbolically.
 1.19 16-Sep-2001  wiz Standardize section header.
 1.18 06-Oct-1999  jdolecek branches: 1.18.8;
remove the list of signals and xref signal(7) instead
 1.17 22-Mar-1999  garbled branches: 1.17.4;
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!
 1.16 29-Aug-1998  lukem 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.
 1.15 29-Apr-1998  fair fix bad .Xr references
 1.14 28-Apr-1998  fair fix mdoc reference
 1.13 05-Feb-1998  perry add LIBRARY section to man page
 1.12 02-Feb-1998  perry merge lite-2
 1.11 01-Nov-1997  mycroft Minor wording changes, and update the date.
 1.10 01-Nov-1997  mycroft Declare the return type.
 1.9 01-Nov-1997  mycroft sv_mask is an int, not a sigset_t.
Copy some additional wording from sigaction(2).
Various other formatting and wording fixes.
 1.8 12-May-1997  mikel branches: 1.8.2;
xref sig{block,setmask}(3) not sig{block,setmask}(2), and RCSid police.
 1.7 17-Jan-1997  perry change sigpause(2) to sigsuspend(2) or sigpause(3), depending
Also try to fix other bad references to sig* man pages.
Fixes pr-2885 from Jonathan Stone
These SEE ALSO sections are still bloody messes (sigh)
 1.6 26-Dec-1996  mikel eliminate incorrect self-reference.
 1.5 13-Jun-1994  cgd these are library routines, not syscalls. per jtc's suggestion.
 1.4 11-Jan-1994  jtc Fix spelling errors.
 1.3 29-Nov-1993  jtc Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Feb-1998  perry import lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.2.1 01-Nov-1997  mellon Pull rev 1.9, 1.10 and 1.11 up from trunk (mycrosoft)
 1.17.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.18.8.3 22-Mar-2002  nathanw Catch up to -current.
 1.18.8.2 08-Mar-2002  nathanw Catch up to -current.
 1.18.8.1 08-Oct-2001  nathanw Catch up to -current.

RSS XML Feed