summaryrefslogtreecommitdiff
path: root/lib/libc/sys/access.2
diff options
context:
space:
mode:
authorRemko Lodder <remko@FreeBSD.org>2007-12-08 22:50:35 +0000
committerRemko Lodder <remko@FreeBSD.org>2007-12-08 22:50:35 +0000
commitd2648c167ba30b36df40cd4c529a899c1a4d8411 (patch)
treed2cadaf761cf312cc01d668ee72f66c0980c1496 /lib/libc/sys/access.2
parent1e5d43393aff5b975d3a22016706ae745d0bdf39 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/access.2')
-rw-r--r--lib/libc/sys/access.211
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index e43e2714172f..38794776e4e1 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -28,7 +28,7 @@
.\" @(#)access.2 8.2 (Berkeley) 4/1/94
.\" $FreeBSD$
.\"
-.Dd September 21, 2001
+.Dd December 8, 2007
.Dt ACCESS 2
.Os
.Sh NAME
@@ -140,6 +140,15 @@ The
.Fn eaccess
system call
likewise may be subject to races if used inappropriately.
+.Pp
+.Fn access
+remains useful for providing clues to users as to whether operations
+make sense for particular filesystem objects (e.g. 'delete' menu
+item only highlighted in a writable folder ... avoiding interpretation
+of the st_mode bits that the application might not understand --
+e.g. in the case of AFS). It also allows a cheaper file existance
+test than
+.Ns Xr stat 2 .
.Sh SEE ALSO
.Xr chmod 2 ,
.Xr intro 2 ,