summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-11-07 11:24:31 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-11-07 11:24:31 +0000
commit25778a60c1b102bc6035360869174cd98023e365 (patch)
tree4cb51caed56d2c1b7f4692d82355a9c0d38450b1 /lib/libc
parent2f7e438913ef43d94258d65589028eacfa4b0c6d (diff)
More .At v1 HISTORY.
All information from http://minnie.tuhs.org/cgi-bin/utree.pl . All facts checked by sobrado@. Feedback and ok on an earlier version jmc@.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/chmod.215
-rw-r--r--lib/libc/sys/gettimeofday.219
-rw-r--r--lib/libc/sys/setuid.219
3 files changed, 39 insertions, 14 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index 2f3985cc8a2..130f65be918 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.2,v 1.18 2011/10/24 19:31:56 schwarze Exp $
+.\" $OpenBSD: chmod.2,v 1.19 2011/11/07 11:24:30 schwarze Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: October 24 2011 $
+.Dd $Mdocdate: November 7 2011 $
.Dt CHMOD 2
.Os
.Sh NAME
@@ -246,6 +246,13 @@ functions are expected to conform to
.St -p1003.1-2008 .
.Sh HISTORY
The
+.Fn chmod
+system call first appeared in
+.At v1 ;
.Fn fchmod
-function call appeared in
-.Bx 4.2 .
+in
+.Bx 4.2 ;
+and
+.Fn fchmodat
+has been available since
+.Ox 5.0 .
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index d56c358e6ca..8c3b0e5afe6 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gettimeofday.2,v 1.20 2011/07/07 21:00:59 deraadt Exp $
+.\" $OpenBSD: gettimeofday.2,v 1.21 2011/11/07 11:24:30 schwarze Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95
.\"
-.Dd $Mdocdate: July 7 2011 $
+.Dd $Mdocdate: November 7 2011 $
.Dt GETTIMEOFDAY 2
.Os
.Sh NAME
@@ -122,12 +122,21 @@ A user other than the superuser attempted to set the time.
.Xr date 1 ,
.Xr adjtime 2 ,
.Xr getitimer 2 ,
-.Xr ctime 3
+.Xr ctime 3 ,
+.Xr time 3
.Sh HISTORY
+As predecessors of these functions, former system calls
+.Fn time
+and
+.Fn stime
+first appeared in
+.At v1 .
The
.Fn gettimeofday
-function call appeared in
-.Bx 4.2 .
+and
+.Fn settimeofday
+system calls first appeared in
+.Bx 4.1c .
.Sh CAVEATS
Setting the time with
.Fn settimeofday
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index 7db735a39ec..cb9f7d76809 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setuid.2,v 1.20 2008/08/04 07:08:23 jmc Exp $
+.\" $OpenBSD: setuid.2,v 1.21 2011/11/07 11:24:30 schwarze Exp $
.\" $NetBSD: setuid.2,v 1.3 1995/02/27 12:37:06 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)setuid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: August 4 2008 $
+.Dd $Mdocdate: November 7 2011 $
.Dt SETUID 2
.Os
.Sh NAME
@@ -127,7 +127,16 @@ concept of
.Li _POSIX_SAVED_IDS ,
and have been proposed for a future revision of the standard.
.Sh HISTORY
-A
+The
.Fn setuid
-function appeared in
-.At v2 .
+system call first appeared in
+.At v1 ;
+.Fn setgid
+in
+.At v4 ;
+and
+.Fn seteuid
+and
+.Fn setegid
+in
+.Bx 4.2 .