symlink.2: Further fine tuning of argument names

Follow-up to f2ae6dde0c
See https://sourceware.org/bugzilla/show_bug.cgi?id=16073

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-10-30 14:53:01 +13:00
parent d6af98f849
commit bcd49f31a8
1 changed files with 7 additions and 7 deletions

View File

@ -29,13 +29,13 @@
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.TH SYMLINK 2 2013-10-26 "Linux" "Linux Programmer's Manual"
.TH SYMLINK 2 2013-10-30 "Linux" "Linux Programmer's Manual"
.SH NAME
symlink \- make a new name for a file
.SH SYNOPSIS
.B #include <unistd.h>
.sp
.BI "int symlink(const char *" filepath ", const char *" linkpath );
.BI "int symlink(const char *" target ", const char *" linkpath );
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
@ -54,7 +54,7 @@ _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _POSIX_C_SOURCE\ >=\ 200112L
creates a symbolic link named
.I linkpath
which contains the string
.IR filepath .
.IR target .
Symbolic links are interpreted at run time as if the contents of the
link had been substituted into the path being followed to find a file or
@ -107,7 +107,7 @@ implementation.
already exists.
.TP
.B EFAULT
.IR filepath " or " linkpath " points outside your accessible address space."
.IR target " or " linkpath " points outside your accessible address space."
.TP
.B EIO
An I/O error occurred.
@ -117,13 +117,13 @@ Too many symbolic links were encountered in resolving
.IR linkpath .
.TP
.B ENAMETOOLONG
.IR filepath " or " linkpath " was too long."
.IR target " or " linkpath " was too long."
.TP
.B ENOENT
A directory component in
.I linkpath
does not exist or is a dangling symbolic link, or
.I filepath
.I target
is the empty string.
.TP
.B ENOMEM
@ -154,7 +154,7 @@ SVr4, 4.3BSD, POSIX.1-2001.
.\" re multiple files with the same name, and NFS.
.SH NOTES
No checking of
.I filepath
.I target
is done.
Deleting the name referred to by a symlink will actually delete the