Table of Contents
A symbolic
link is created to is the name of the file created, is the string used
in creating the symbolic link). Either name may be an arbitrary path name;
the files need not be on the same file system.
Upon successful
completion, a zero value is returned. If an error occurs, the error code
is stored in and a -1 value is returned.
The symbolic link succeeds
unless: A component of the prefix is not a directory. A component of
a pathname exceeded characters, or an entire path name exceeded characters.
The named file does not exist. A component of the path prefix denies
search permission. Too many symbolic links were encountered in translating
the pathname. already exists. An I/O error occurred while making the directory
entry for or allocating the inode for or writing out the link contents
of The file would reside on a read-only file system. The directory in
which the entry for the new symbolic link is being placed cannot be extended
because there is no space left on the file system containing the directory.
The new symbolic link cannot be created because there there is no space
left on the file system that will contain the symbolic link. There are
no free inodes on the file system on which the symbolic link is being created.
The directory in which the entry for the new symbolic link is being placed
cannot be extended because the user’s quota of disk blocks on the file system
containing the directory has been exhausted. The new symbolic link cannot
be created because the user’s quota of disk blocks on the file system that
will contain the symbolic link has been exhausted. The user’s quota of inodes
on the file system on which the symbolic link is being created has been
exhausted. An I/O error occurred while making the directory entry or allocating
the inode. or points outside the process’s allocated address space.
The function call appeared in
Table of Contents