Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (k - m) link(2)
[ELOOP] Too many symbolic links were encountered in translating either the path1 or
path2 parameter.
[EMLINK] The number of links to the file specified by the path1 parameter would exceed
the maximum permitted. The pathconf() function can be called to obtain the
configured limit.
[ENAMETOOLONG]
One of the following is too long:
The pathname pointed to by the path1 parameter
The pathname pointed to by the path2 parameter
A component of the pathname pointed to by the path1 parameter
A component of the pathname pointed to by the path2 parameter
The intermediate result of pathname resolution when a symbolic link is
part of the path1 or path2 parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOENT] One of the following is true:
The file specified by the path1 parameter does not exist.
The path1 or path2 parameter is an empty string.
The path1 parameter names a symbolic link, but the file to which it
refers does not exist.
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 new link is being placed cannot be
extended, because there is no space left on the fileset containing the directory.
[ENOTDIR] A component of either pathname prefix is not a directory.
[ENXIO] The fileset containing the client’s current working directory or root directory is
not mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
527186-023 Hewlett-Packard Company 417