diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/exit.3 | 13 | ||||
-rw-r--r-- | lib/libc/sys/_exit.2 | 14 | ||||
-rw-r--r-- | lib/libc/sys/getuid.2 | 13 | ||||
-rw-r--r-- | lib/libc/sys/link.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/mkdir.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/mount.2 | 26 | ||||
-rw-r--r-- | lib/libc/sys/stat.2 | 19 | ||||
-rw-r--r-- | lib/libc/sys/utimes.2 | 20 | ||||
-rw-r--r-- | lib/libc/sys/wait.2 | 22 |
9 files changed, 118 insertions, 25 deletions
diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3 index 45eae80a08e..e452d454a88 100644 --- a/lib/libc/stdlib/exit.3 +++ b/lib/libc/stdlib/exit.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: exit.3,v 1.11 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: exit.3,v 1.12 2011/11/17 14:26:14 schwarze Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 17 2011 $ .Dt EXIT 3 .Os .Sh NAME @@ -112,3 +112,12 @@ and .Fn _Exit functions conform to .St -ansiC-99 . +.Sh HISTORY +An +.Fn exit +function first appeared as a system call in +.At v1 . +In +.At v7 , +the bare system call was renamed to +.Xr _exit 2 . diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2 index 1ebae3eed1f..3fb185ef68f 100644 --- a/lib/libc/sys/_exit.2 +++ b/lib/libc/sys/_exit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: _exit.2,v 1.16 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: _exit.2,v 1.17 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)_exit.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 17 2011 $ .Dt _EXIT 2 .Os .Sh NAME @@ -102,7 +102,6 @@ can never return. .Xr intro 2 , .Xr sigaction 2 , .Xr wait 2 , -.Xr _Exit 3 , .Xr exit 3 , .Xr sysexits 3 .Sh STANDARDS @@ -110,3 +109,12 @@ The .Fn _exit function is defined by .St -p1003.1-88 . +.Sh HISTORY +An +.Fn exit +system call first appeared in +.At v1 , +and an +.Fn _exit +variant in +.At v7 . diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2 index 720f0d9b1c4..0e4bdf635c1 100644 --- a/lib/libc/sys/getuid.2 +++ b/lib/libc/sys/getuid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getuid.2,v 1.13 2008/08/04 07:08:23 jmc Exp $ +.\" $OpenBSD: getuid.2,v 1.14 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: getuid.2,v 1.6 1995/02/27 12:33:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getuid.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: August 4 2008 $ +.Dd $Mdocdate: November 17 2011 $ .Dt GETUID 2 .Os .Sh NAME @@ -79,3 +79,12 @@ and .Fn geteuid functions conform to .St -p1003.1-88 . +.Sh HISTORY +The +.Fn getuid +system call first appeared in +.At v1 , +and +.Fn geteuid +in +.At v7 . diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index e0c765a8073..7ebc3a83079 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: link.2,v 1.21 2011/07/24 06:54:44 matthew Exp $ +.\" $OpenBSD: link.2,v 1.22 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)link.2 8.3 (Berkeley) 1/12/94 .\" -.Dd $Mdocdate: July 24 2011 $ +.Dd $Mdocdate: November 17 2011 $ .Dt LINK 2 .Os .Sh NAME @@ -241,6 +241,10 @@ functions are expected to conform to .St -p1003.1-2008 . .Sh HISTORY The +.Fn link +system call first appeared in +.At v1 . +The .Fn linkat function appeared in .Ox 5.0 . diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2 index 177621d40dd..40dacbf039e 100644 --- a/lib/libc/sys/mkdir.2 +++ b/lib/libc/sys/mkdir.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mkdir.2,v 1.10 2011/07/18 23:04:40 matthew Exp $ +.\" $OpenBSD: mkdir.2,v 1.11 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: mkdir.2,v 1.8 1995/02/27 12:34:22 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: July 18 2011 $ +.Dd $Mdocdate: November 17 2011 $ .Dt MKDIR 2 .Os .Sh NAME @@ -157,6 +157,10 @@ functions conform to .St -p1003.1-2008 . .Sh HISTORY The +.Fn mkdir +system call first appeared in +.At v1 . +The .Fn mkdirat function appeared in .Ox 5.0 . diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 35d77da1967..28c404a0e88 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.2,v 1.39 2011/11/06 12:07:42 deraadt Exp $ +.\" $OpenBSD: mount.2,v 1.40 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mount.2 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: November 6 2011 $ +.Dd $Mdocdate: November 17 2011 $ .Dt MOUNT 2 .Os .Sh NAME @@ -399,10 +399,28 @@ points outside the process's allocated address space. .Xr mount 8 , .Xr umount 8 .Sh HISTORY +The .Fn mount and .Fn unmount -function calls appeared in -.At v6 . +system calls first appeared in +.At v1 . +The +.Fa flags +argument is supported by +.Fn mount +since +.At v5 +and by +.Fn unmount +since +.Bx 4.3 Reno . +The current calling convention involving +.Fa type +and +.Fa data +arguments was introduced by +.Bx 4.3 Reno +as well. .Sh BUGS Some of the error codes need translation to more obvious messages. diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 90c7e0649e2..9cc3eb7b43a 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stat.2,v 1.30 2011/07/19 20:58:05 matthew Exp $ +.\" $OpenBSD: stat.2,v 1.31 2011/11/17 14:26:14 schwarze Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)stat.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: July 19 2011 $ +.Dd $Mdocdate: November 17 2011 $ .Dt STAT 2 .Os .Sh NAME @@ -381,10 +381,19 @@ and function calls are expected to conform to .St -p1003.1-88 . .Sh HISTORY -A +The .Fn stat -function appeared in -.At v2 . +and +.Fn fstat +system calls first appeared in +.At v1 . +The +.In sys/stat.h +header file and the +.Vt "struct stat" +were introduced in +.At v7 . +.Pp An .Fn lstat function call appeared in diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 7ca7fd716d7..a30cd617992 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utimes.2,v 1.16 2011/07/19 20:58:05 matthew Exp $ +.\" $OpenBSD: utimes.2,v 1.17 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: utimes.2,v 1.9 1996/04/23 10:34:16 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)utimes.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 19 2011 $ +.Dd $Mdocdate: November 17 2011 $ .Dt UTIMES 2 .Os .Sh NAME @@ -246,6 +246,22 @@ and functions conform to .St -p1003.1-2008 . .Sh HISTORY +The predecessors of +.Fn utimes +were +.Fn smdate +in +.At v1 , +.Fn mdate +in +.At v3 , +and +.Fn utime +in +.At v7 ; +the latter first supported the concept of an access time +in addition to the modification time. +.Pp The .Fn utimes function call appeared in diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 24a0897409d..3b20f19b043 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wait.2,v 1.21 2007/05/31 19:19:34 jmc Exp $ +.\" $OpenBSD: wait.2,v 1.22 2011/11/17 14:26:14 schwarze Exp $ .\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 17 2011 $ .Dt WAIT 2 .Os .Sh NAME @@ -299,5 +299,21 @@ call are extensions to the POSIX interface. .Sh HISTORY A .Fn wait -function call appeared in +system call first appeared in +.At v1 . +The +.Fa status +argument is accepted since .At v2 . +A +.Fn wait3 +system call first appeared in +.Bx 4 , +but the final calling convention was only established in +.Bx 4.2 . +The +.Fn wait4 +and +.Fn waitpid +function calls first appeared in +.Bx 4.3 Reno . |