Don't use capital letter for function name and argument.

This commit is contained in:
enami 1997-10-11 03:31:01 +00:00
parent 07caf92eec
commit 2f07ed897a
1 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chmod.2,v 1.13 1997/10/06 08:22:58 enami Exp $
.\" $NetBSD: chmod.2,v 1.14 1997/10/11 03:31:01 enami Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -59,11 +59,11 @@ specified by the pathname
.Fa path
to
.Fa mode .
.Fn Fchmod
.Fn fchmod
sets the permission bits of the specified
file descriptor
.Fa fd .
.Fn Lchmod
.Fn lchmod
is like
.Fn chmod
except in the case where the named file is a symbolic link,
@ -73,7 +73,7 @@ sets the permission bits of the link,
while
.Fn chmod
sets the bits of the file the link references.
.Fn Chmod
.Fn chmod
verifies that the process owner (user) either owns
the file specified by
.Fa path
@ -141,7 +141,7 @@ Otherwise, a value of -1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
.Fn Chmod
.Fn chmod
and
.Fn lchmod
will fail and the file mode will be unchanged if:
@ -166,7 +166,7 @@ the effective user ID is not the super-user.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT
.Fa Path
.Fa path
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
@ -180,13 +180,13 @@ and
does not refer to a directory.
.El
.Pp
.Fn Fchmod
.Fn fchmod
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
The descriptor is not valid.
.It Bq Er EINVAL
.Fa Fd
.Fa fd
refers to a socket, not to a file.
.It Bq Er EROFS
The file resides on a read-only file system.