summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2012-07-17 07:48:48 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2012-07-17 07:48:48 +0000
commit89c246ac9ff6383cee674f8e8e3ba82359eb1e14 (patch)
treeb59f8992b9d799c2a9e6b82a2f0a60dbde8e6db9
parent9393cc9c53708b86649d7122f7439cc57f2a9333 (diff)
Remove outdated reference to BSD 4.4 symlink behavior. Equivalent
text was removed from symlink.7 over 16 years ago.
-rw-r--r--lib/libc/sys/stat.213
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 9cc3eb7b43a..7aced710a66 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.2,v 1.31 2011/11/17 14:26:14 schwarze Exp $
+.\" $OpenBSD: stat.2,v 1.32 2012/07/17 07:48:47 matthew 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: November 17 2011 $
+.Dd $Mdocdate: July 17 2012 $
.Dt STAT 2
.Os
.Sh NAME
@@ -67,15 +67,6 @@ except when the named file is a symbolic link,
in which case
.Fn lstat
returns information about the link itself, not the file the link references.
-Unlike other file system objects,
-symbolic links do not have an owner, group, access mode, times, etc.
-Instead, these attributes are taken from the directory that
-contains the link.
-The only attributes returned from an
-.Fn lstat
-that refer to the symbolic link itself are the file type
-.Pq Dv S_IFLNK ,
-size, blocks, and link count.
.Pp
The
.Fn fstatat