summaryrefslogtreecommitdiff
path: root/lib/libc/sys/access.2
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 21:03:06 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 21:03:06 +0000
commita77c320810e780975ed28ae29c66aa0afc95fb3f (patch)
treef70384621f0022f7364de60f3311b4e46aad5d8f /lib/libc/sys/access.2
parent161a2fac0bae0356ddc472d29b8a22acd498585a (diff)
Document early history of a few functions specifically mentioned in 2BSD
manuals; however, it turned out all of these actually predate 2BSD. All information from http://minnie.tuhs.org/cgi-bin/utree.pl. ok jmc@ sobrado@
Diffstat (limited to 'lib/libc/sys/access.2')
-rw-r--r--lib/libc/sys/access.220
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index 08c47a922e5..92080c0c131 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: access.2,v 1.18 2011/07/19 20:58:05 matthew Exp $
+.\" $OpenBSD: access.2,v 1.19 2012/01/15 21:03:05 schwarze Exp $
.\" $NetBSD: access.2,v 1.7 1995/02/27 12:31:44 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)access.2 8.2 (Berkeley) 4/1/94
.\"
-.Dd $Mdocdate: July 19 2011 $
+.Dd $Mdocdate: January 15 2012 $
.Dt ACCESS 2
.Os
.Sh NAME
@@ -200,10 +200,26 @@ and
functions conform to
.St -p1003.1-2008 .
.Sh HISTORY
+.Fn access
+first appeared as an internal kernel function in
+.At v1
+and was reimplemented in C before the release of
+.At v4 .
+It was first promoted to a system call in the Programmer's Workbench
+(PWB/UNIX), which was later ported to
+.At v7
+and
+.Bx 2 .
+.Pp
The
.Fn faccessat
function appeared in
.Ox 5.0 .
+.Sh AUTHORS
+.An Ken Thompson
+first implemented the
+.Fn access
+kernel function in C.
.Sh CAVEATS
.Fn access
and