Add copyright
[unix-history] / usr / src / lib / libc / sys / access.2
index fb03a68..4ae3553 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)access.2    6.1 (Berkeley) %G%
+.\"    @(#)access.2    6.2 (Berkeley) %G%
 .\"
 .TH ACCESS 2 ""
 .UC 4
 .\"
 .TH ACCESS 2 ""
 .UC 4
@@ -70,15 +70,19 @@ Access to the file is denied if one or more of the following are true:
 [ENOTDIR]
 A component of the path prefix is not a directory.
 .TP 15
 [ENOTDIR]
 A component of the path prefix is not a directory.
 .TP 15
-[ENOENT]
-The argument path name was too long.
+[EINVAL]
+The pathname contains a character with the high-order bit set.
+.TP 15
+[ENAMETOOLONG]
+A component of a pathname exceeded 255 characters,
+or an entire path name exceeded 1023 characters.
 .TP 15
 [ENOENT]
 Read, write, or execute (search) permission is requested for a null
 path name or the named file does not exist.
 .TP 15
 .TP 15
 [ENOENT]
 Read, write, or execute (search) permission is requested for a null
 path name or the named file does not exist.
 .TP 15
-[EPERM]
-The argument contains a byte with the high-order bit set.
+[EACCES]
+Search permission is denied for a component of the path prefix.
 .TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating the pathname.
 .TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating the pathname.