Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in

description of ENAMETOOLONG error.
This commit is contained in:
jtc 1994-04-19 00:10:45 +00:00
parent 4304e0ec4e
commit a3376999f0
29 changed files with 180 additions and 90 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)access.2 6.7 (Berkeley) 3/10/91
.\" $Id: access.2,v 1.4 1994/04/01 03:44:32 cgd Exp $
.\" $Id: access.2,v 1.5 1994/04/19 00:10:45 jtc Exp $
.\"
.Dd March 10, 1991
.Dt ACCESS 2
@ -92,8 +92,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acct.2 6.5 (Berkeley) 3/10/91
.\" $Id: acct.2,v 1.3 1993/11/25 00:38:21 jtc Exp $
.\" $Id: acct.2,v 1.4 1994/04/19 00:10:47 jtc Exp $
.\"
.Dd March 10, 1991
.Dt ACCT 2
@ -90,8 +90,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)bind.2 6.9 (Berkeley) 3/10/91
.\" $Id: bind.2,v 1.4 1993/11/29 21:25:00 jtc Exp $
.\" $Id: bind.2,v 1.5 1994/04/19 00:10:49 jtc Exp $
.\"
.Dd March 10, 1991
.Dt BIND 2
@ -102,8 +102,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A prefix component of the path name does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chdir.2 6.7 (Berkeley) 3/10/91
.\" $Id: chdir.2,v 1.4 1994/01/10 23:54:12 jtc Exp $
.\" $Id: chdir.2,v 1.5 1994/04/19 00:10:50 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CHDIR 2
@ -86,8 +86,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named directory does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chflags.2 6.6 (Berkeley) 7/25/91
.\" $Id: chflags.2,v 1.3 1993/11/25 00:38:28 jtc Exp $
.\" $Id: chflags.2,v 1.4 1994/04/19 00:10:52 jtc Exp $
.\"
.Dd July 25, 1991
.Dt CHFLAGS 2
@ -71,8 +71,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chmod.2 6.6 (Berkeley) 3/10/91
.\" $Id: chmod.2,v 1.4 1993/11/25 00:38:29 jtc Exp $
.\" $Id: chmod.2,v 1.5 1994/04/19 00:10:53 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CHMOD 2
@ -133,8 +133,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chown.2 6.7 (Berkeley) 3/10/91
.\" $Id: chown.2,v 1.6 1994/03/29 02:54:58 jtc Exp $
.\" $Id: chown.2,v 1.7 1994/04/19 00:10:54 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CHOWN 2
@ -97,8 +97,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chroot.2 6.5 (Berkeley) 3/10/91
.\" $Id: chroot.2,v 1.4 1993/11/29 21:25:02 jtc Exp $
.\" $Id: chroot.2,v 1.5 1994/04/19 00:10:56 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CHROOT 2
@ -75,8 +75,11 @@ A component of the path name is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named directory does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)connect.2 6.9 (Berkeley) 3/10/91
.\" $Id: connect.2,v 1.4 1993/11/29 21:25:03 jtc Exp $
.\" $Id: connect.2,v 1.5 1994/04/19 00:10:57 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CONNECT 2
@ -125,8 +125,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named socket does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)execve.2 6.9 (Berkeley) 3/10/91
.\" $Id: execve.2,v 1.5 1993/11/29 21:25:05 jtc Exp $
.\" $Id: execve.2,v 1.6 1994/04/19 00:10:59 jtc Exp $
.\"
.Dd March 10, 1991
.Dt EXECVE 2
@ -194,8 +194,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The new process file does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getfh.2 6.4 (Berkeley) 7/23/91
.\" $Id: getfh.2,v 1.3 1993/11/25 00:38:47 jtc Exp $
.\" $Id: getfh.2,v 1.4 1994/04/19 00:11:02 jtc Exp $
.\"
.Dd July 23, 1991
.Dt GETFH 2
@ -68,10 +68,13 @@ contains a character with the high-order bit set.
.It Bq ENAMETOOLONG
The length of a component of
.Fa path
exceeds 255 characters,
or the length of
exceeds
.Dv {NAME_MAX}
characters, or the length of
.Fa path
exceeds 1023 characters.
exceeds
.Dv {PATH_MAX}
characters.
.It Bq ENOENT
The file referred to by
.Fa path

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)link.2 6.4 (Berkeley) 3/10/91
.\" $Id: link.2,v 1.4 1993/11/29 21:25:17 jtc Exp $
.\" $Id: link.2,v 1.5 1994/04/19 00:11:04 jtc Exp $
.\"
.Dd March 10, 1991
.Dt LINK 2
@ -93,8 +93,11 @@ A component of either path prefix is not a directory.
.It Bq Er EINVAL
Either pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of either pathname exceeded 255 characters,
or entire length of either path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A component of either path prefix does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkdir.2 6.7 (Berkeley) 3/10/91
.\" $Id: mkdir.2,v 1.5 1993/12/15 17:40:20 jtc Exp $
.\" $Id: mkdir.2,v 1.6 1994/04/19 00:11:05 jtc Exp $
.\"
.Dd March 10, 1991
.Dt MKDIR 2
@ -68,8 +68,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A component of the path prefix does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkfifo.2 6.4 (Berkeley) 7/23/91
.\" $Id: mkfifo.2,v 1.5 1994/01/31 18:33:21 jtc Exp $
.\" $Id: mkfifo.2,v 1.6 1994/04/19 00:11:07 jtc Exp $
.\"
.Dd July 23, 1991
.Dt MKFIFO 2
@ -72,8 +72,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A component of the path prefix does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mknod.2 6.5 (Berkeley) 3/10/91
.\" $Id: mknod.2,v 1.3 1993/11/25 00:39:18 jtc Exp $
.\" $Id: mknod.2,v 1.4 1994/04/19 00:11:08 jtc Exp $
.\"
.Dd March 10, 1991
.Dt MKNOD 2
@ -81,8 +81,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A component of the path prefix does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount.2 6.12 (Berkeley) 3/15/91
.\" $Id: mount.2,v 1.5 1993/11/29 21:25:23 jtc Exp $
.\" $Id: mount.2,v 1.6 1994/04/19 00:11:10 jtc Exp $
.\"
.Dd March 15, 1991
.Dt MOUNT 2
@ -181,8 +181,11 @@ will fail when one of the following occurs:
.It Bq Er EPERM
The caller is not the super-user.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or the entire length of a path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating a pathname.
.It Bq Er ENOENT
@ -283,8 +286,11 @@ A component of the path is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)open.2 6.7 (Berkeley) 5/27/91
.\" $Id: open.2,v 1.6 1994/04/11 06:36:04 glass Exp $
.\" $Id: open.2,v 1.7 1994/04/19 00:11:13 jtc Exp $
.\"
.Dd May 27, 1991
.Dt OPEN 2
@ -150,8 +150,11 @@ The named file is opened unless:
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
.Dv O_CREAT
is not set and the named file does not exist.

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)quotactl.2 6.13 (Berkeley) 7/23/91
.\" $Id: quotactl.2,v 1.5 1993/11/29 21:25:27 jtc Exp $
.\" $Id: quotactl.2,v 1.6 1994/04/19 00:11:14 jtc Exp $
.\"
.Dd July 23, 1991
.Dt QUOTACTL 2
@ -168,8 +168,11 @@ Search permission is denied for a component of a path prefix.
.It Bq Er ENOTDIR
A component of a path prefix was not a directory.
.It Bq Er ENAMETOOLONG
A component of either pathname exceeded 255 characters,
or the entire length of either path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A filename does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)readlink.2 6.8 (Berkeley) 3/10/91
.\" $Id: readlink.2,v 1.4 1993/11/29 21:25:28 jtc Exp $
.\" $Id: readlink.2,v 1.5 1994/04/19 00:11:16 jtc Exp $
.\"
.Dd March 10, 1991
.Dt READLINK 2
@ -69,8 +69,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rename.2 6.7 (Berkeley) 3/10/91
.\" $Id: rename.2,v 1.4 1993/11/29 21:25:31 jtc Exp $
.\" $Id: rename.2,v 1.5 1994/04/19 00:11:17 jtc Exp $
.\"
.Dd March 10, 1991
.Dt RENAME 2
@ -109,8 +109,11 @@ affected if:
.It Bq Er EINVAL
Either pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of either pathname exceeded 255 characters,
or the entire length of either path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
A component of the
.Fa from

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rmdir.2 6.6 (Berkeley) 3/10/91
.\" $Id: rmdir.2,v 1.4 1993/11/29 21:25:32 jtc Exp $
.\" $Id: rmdir.2,v 1.5 1994/04/19 00:11:19 jtc Exp $
.\"
.Dd March 10, 1991
.Dt RMDIR 2
@ -64,8 +64,11 @@ A component of the path is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named directory does not exist.
.It Bq Er ELOOP

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)stat.2 6.9 (Berkeley) 3/10/91
.\" $Id: stat.2,v 1.5 1994/01/10 23:54:33 jtc Exp $
.\" $Id: stat.2,v 1.6 1994/04/19 00:11:20 jtc Exp $
.\"
.Dd March 10, 1991
.Dt STAT 2
@ -183,8 +183,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)statfs.2 6.5 (Berkeley) 7/23/91
.\" $Id: statfs.2,v 1.4 1993/11/29 21:25:47 jtc Exp $
.\" $Id: statfs.2,v 1.5 1994/04/19 00:11:21 jtc Exp $
.\"
.Dd July 23, 1991
.Dt STATFS 2
@ -106,10 +106,13 @@ contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
The length of a component of
.Fa path
exceeds 255 characters,
or the length of
exceeds
.Dv {NAME_MAX}
characters, or the length of
.Fa path
exceeds 1023 characters.
exceeds
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The file referred to by
.Fa path

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)swapon.2 6.7 (Berkeley) 3/10/91
.\" $Id: swapon.2,v 1.4 1993/11/29 21:25:48 jtc Exp $
.\" $Id: swapon.2,v 1.5 1994/04/19 00:11:23 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SWAPON 2
@ -66,8 +66,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named device does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)symlink.2 6.6 (Berkeley) 3/10/91
.\" $Id: symlink.2,v 1.4 1993/11/29 21:25:49 jtc Exp $
.\" $Id: symlink.2,v 1.5 1994/04/19 00:11:24 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SYMLINK 2
@ -74,8 +74,11 @@ or
.Fa name2
contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of either pathname exceeded 255 characters,
or the entire length of either path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)truncate.2 6.9 (Berkeley) 3/10/91
.\" $Id: truncate.2,v 1.4 1993/11/29 21:25:50 jtc Exp $
.\" $Id: truncate.2,v 1.5 1994/04/19 00:11:26 jtc Exp $
.\"
.Dd March 10, 1991
.Dt TRUNCATE 2
@ -72,8 +72,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)unlink.2 6.3 (Berkeley) 3/10/91
.\" $Id: unlink.2,v 1.4 1993/11/29 21:25:52 jtc Exp $
.\" $Id: unlink.2,v 1.5 1994/04/19 00:11:28 jtc Exp $
.\"
.Dd March 10, 1991
.Dt UNLINK 2
@ -72,8 +72,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES

View File

@ -95,8 +95,11 @@ An I/O error occurred while reading or writing the affected inode.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er ENOTDIR

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)swapon.2 6.7 (Berkeley) 3/10/91
.\" $Id: swapon.3,v 1.4 1993/11/29 21:25:48 jtc Exp $
.\" $Id: swapon.3,v 1.5 1994/04/19 00:11:23 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SWAPON 2
@ -66,8 +66,11 @@ A component of the path prefix is not a directory.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Dv {NAME_MAX}
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
The named device does not exist.
.It Bq Er EACCES