diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | a4b155d7a2170a500eb79b46959eef4018441062 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/chmod.2 | |
parent | e7e659d1cc574138f455ed70d58a07294211ff5a (diff) | |
download | FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz |
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Diffstat (limited to 'lib/libc/sys/chmod.2')
-rw-r--r-- | lib/libc/sys/chmod.2 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index 7854c36..8c92be2 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -59,7 +59,7 @@ are changed to .Fa mode . The .Fn chmod -function verifies that the process owner (user) either owns +system call verifies that the process owner (user) either owns the file specified by .Fa path (or @@ -68,12 +68,12 @@ or is the super-user. The .Fn chmod -function follows symbolic links to operate on the target of the link +system call follows symbolic links to operate on the target of the link rather than the link itself. .Pp The -.Fa lchmod -function is similar to +.Fn lchmod +system call is similar to .Fn chmod but does not follow symbolic links. .Pp @@ -161,7 +161,7 @@ at the expense of a degree of compatibility. .Sh ERRORS The .Fn chmod -function +system call will fail and the file mode will be unchanged if: .Bl -tag -width Er .It Bq Er ENOTDIR @@ -191,7 +191,7 @@ An attempt was made to set the sticky bit upon an executable. .Pp The .Fn fchmod -function will fail if: +system call will fail if: .Bl -tag -width Er .It Bq Er EBADF The descriptor is not valid. @@ -212,23 +212,22 @@ An I/O error occurred while reading from or writing to the file system. .Sh STANDARDS The .Fn chmod -function call is expected to conform to +system call is expected to conform to .St -p1003.1-90 , except for the return of .Er EFTYPE and the use of .Dv S_ISTXT . .Sh HISTORY -A +The .Fn chmod -function call appeared in +function appeared in .At v7 . The .Fn fchmod -function call -appeared in +system call appeared in .Bx 4.2 . The .Fn lchmod -function call appeared in +system call appeared in .Fx 3.0 . |