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/rename.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/rename.2')
-rw-r--r-- | lib/libc/sys/rename.2 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 2046861..1409c84 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -45,7 +45,9 @@ .Ft int .Fn rename "const char *from" "const char *to" .Sh DESCRIPTION -.Fn Rename +The +.Fn rename +system call causes the link named .Fa from to be renamed as @@ -60,7 +62,9 @@ and must be of the same type (that is, both directories or both non-directories), and must reside on the same file system. .Pp -.Fn Rename +The +.Fn rename +system call guarantees that if .Fa to already exists, an instance of @@ -102,7 +106,9 @@ not the file or directory to which it points. .Sh RETURN VALUES .Rv -std rename .Sh ERRORS -.Fn Rename +The +.Fn rename +system call will fail and neither of the argument files will be affected if: .Bl -tag -width Er @@ -195,5 +201,5 @@ is a directory and is not empty. .Sh STANDARDS The .Fn rename -function call is expected to conform to +system call is expected to conform to .St -p1003.1-96 . |