Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (k - m) lstat(2)
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 the following conditions exists:
The le specied by the path parameter does not exist.
path points to an empty string.
The specied pathname cannot be mapped to a valid Guardian lename.
The specied pathname points to the name of a Guardian process that is
not of subtype 30.
The path parameter species a le on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] The program attempted an operation while the root leset was unavailable.
[ENOTDIR] A component of the pathname specied by the path parameter is not a directory.
[ENXIO] An invalid device or address was specied during an input or output operation
on a special le. One of the following events occurred:
A device was specied that does not exist, or a request was made beyond
the limits of the device.
The leset containing the requestors current working directory or root
directory is not mounted. This error can occur after failure and restart of
an OSS name server process until the leset has been repaired and
remounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
RELATED INFORMATION
Functions: chmod(2), chown(2), fstat(2), open(2), pipe(2), readlink(2), stat(2), symlink(2),
utime(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specication:
The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENXIO], and [EOSSNO-
TRUNNING] can be returned by the lstat() function.
The HP implementation does not issue the [EOVERFLOW] value for errno.
527186-003 Hewlett-Packard Company 421