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 file specified by the path parameter does not exist.
• path 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 Guardian process that is
not of subtype 30.
• The path parameter specifies a file on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] The program attempted an operation while the root fileset was unavailable.
[ENOTDIR] A component of the pathname specified by the path parameter is not a directory.
[ENXIO] An invalid device or address was specified during an input or output operation
on a special file. One of the following events occurred:
• A device was specified that does not exist, or a request was made beyond
the limits of the device.
• The fileset containing the requestor’s 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 fileset 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 specification:
• 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 4−21