Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (s and S) symlink(2)
• Search permission is denied on a component of path2.
[EEXIST] The path specified by the path2 parameter already exists.
[EFAULT] Either the path1 or the path2 parameter points outside the process’s allocated
address space.
[EFSBAD] The fileset catalog for one of the filesets involved in the operation is corrupt.
[EIO] An input/output error occurred during a read from or write to the fileset.
[ELOOP] Too many symbolic links were found in translating path2.
[ENAMETOOLONG]
One of the following is too long:
• The pathname pointed to by the path1 or path2 parameter
• A component of the pathname pointed to by the path1 or path2 parame-
ter
• The intermediate result of pathname resolution when a symbolic link is
part of the pathname pointed to by the path2 parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOENT] One of the following conditions exists:
• A named directory does not exist.
• A specified pathname is an empty string.
• A specified pathname cannot be mapped to a valid Guardian filename.
• The path1 or path2 parameter specifies a file on a remote HP NonStop
node but communication with the remote node has been lost.
[ENOROOT] One of the following conditions exists:
• The root fileset of the local node (fileset 0) is not in the STARTED state.
• The current root fileset for the specified file is unavailable. The OSS
name server for the fileset might have failed.
• The specified file is on a remote HP NonStop node and communication
with the remote name server has been lost.
[ENOSPC] The directory in which the entry for the symbolic link is being placed cannot be
extended because there is no space left on the fileset containing the directory, or
the new symbolic link cannot be created because there is no space left on the
fileset that contains the link.
[ENOTDIR] A component of path2 is not a directory.
[ENOTSUP] The fileset pointed to by the path1 parameter cannot support symbolic links.
This error is returned for files in /G and for files in D3x-series filesets.
527186-023 Hewlett-Packard Company 7−535