summaryrefslogtreecommitdiff
path: root/lib/libc/sys/stat.2
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-13 05:20:56 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-13 05:20:56 +0000
commita9bdca561cfb59434393120533fb5c33d920cb2e (patch)
tree8a5a1c56f97797222ef38fc7a9af1c02110815b5 /lib/libc/sys/stat.2
parentf253465cb582390ddb853f36cefd01062b7ffb3f (diff)
Mention that certain fields are accessible to the super-user only.
Diffstat (limited to 'lib/libc/sys/stat.2')
-rw-r--r--lib/libc/sys/stat.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 0d0a69c740d..04f63c7ba87 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.9 1996/01/17 02:15:28 jtc Exp $
+.\" $OpenBSD: stat.2,v 1.3 1997/02/13 05:20:55 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -243,7 +243,11 @@ points to an invalid address.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
.El
-.Sh CAVEAT
+.Sh CAVEATS
+The file generation number,
+.Fa st_gen ,
+is only available to the super-user.
+.br
The fields in the stat structure currently marked
.Fa st_spare1 ,
.Fa st_spare2 ,
@@ -273,7 +277,7 @@ and
function calls are expected to conform to
.St -p1003.1-88 .
.Sh HISTORY
-A
+An
.Fn lstat
function call appeared in
.Bx 4.2 .