Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (s and S) stat(2)
ERRORS
If any of these conditions occurs, the stat() function sets errno to the corresponding value:
[EACCES] Search permission is denied for a component of the pathname
pointed to by the path parameter.
[EFAULT] Either the buffer parameter or the path parameter points to a
location outside of the allocated address space of the process.
[EFSBAD] The program attempted an operation involving a fileset with a
corrupted fileset catalog.
[EIO] An input or output error occurred. The device holding the file
might be in the down state, or both processors that provide
access to the device might have failed.
[ELOOP] Too many symbolic links were encountered in translating path.
[ENAMETOOLONG]
One of these is too long:
• The pathname pointed to by the path parameter
• A component of the pathname pointed to by the path
parameter
• The intermediate result of pathname resolution when a
symbolic link is part of the path parameter
The pathconf( ) function can be called to obtain the applicable
limits.
[ENOENT] One of these conditions exists:
• The file specified by the path parameter does not exist.
• The path parameter points to an empty string.
• The specified pathname cannot be mapped to a valid
Guardian filename.
• The specified pathname points to the name of a Guar-
dian process that is not of subtype 30.
• The path parameter specifies a file on a remote HP Non-
Stop node, but communication with the remote node has
been lost.
[ENOROOT] One of these 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 unavail-
able. 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.
527186-003 Hewlett-Packard Company 7−167