Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (r) rename_oss(2)
— /dev
— /dev/tty or /dev/null
— lost+found
[EEXIST] The to parameter specifies an existing nonempty directory or an existing Guar-
dian file (a file in /G).
[EFAULT] Either the to or from parameter is an invalid address.
[EFSBAD] The fileset catalog for one of the filesets involved in the operation is corrupt.
[EGUARDIANOPEN]
The from parameter specifies a regular disk file on the Guardian file system (that
is, a file in /G or in a directory within /G) that is already opened in exclusive
mode by Enscribe.
[EINVAL] One of the following conditions exists:
• The from or to parameter is not a well-formed directory.
• The calling process attempted to rename . (dot) or ..(dot-dot).
• The from parameter is an ancestor of the to parameter.
[EISDIR] The to parameter specifies a directory and the from parameter specifies a
filename that is not a directory.
[ELOOP] Too many symbolic links were encountered in translating either the to or from
parameter.
[ENAMETOOLONG]
One of the following is too long:
• The pathname pointed to by the to parameter
• The pathname pointed to by the from parameter
• A component of the pathname pointed to by the to parameter
• A component of the pathname pointed to by the from parameter
• The intermediate result of pathname resolution when a symbolic link is
part of the to or from parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOENT] One of the following conditions exists:
• The path specified by the from parameter is an empty string.
• The file specified by the from parameter does not exist.
• The path parameter specifies a file on a remote HP NonStop node but
communication with the remote node has been lost.
527186-003 Hewlett-Packard Company 6−29