summaryrefslogtreecommitdiff
path: root/lib/libc/sys/stat.2
diff options
context:
space:
mode:
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 .