Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

OSS Library Calls (n - r) nftw(3)
The function specied by the function parameter returns -1 and does not
reset the value of errno.
[EFSBAD] The program attempted an operation involving a leset with a corrupted leset
catalog.
[ELOOP] Too many symbolic links were encountered in translating path.
[ENAMETOOLONG]
One of the following 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 the following conditions exists:
The path parameter points to an empty le.
The path parameter points to an empty string.
The path parameter species a le on a remote HP NonStop server node
but communication with the remote node has been lost.
[ENOMEM] The system has insufcient resources.
[ENOROOT] One of the following conditions exists:
The root leset of the local node (leset 0) is not in the STARTED state.
The current root leset for the specied le is unavailable. The OSS
name server for the leset might have failed.
The specied le is on a remote HP NonStop server node and communi-
cation with the remote name server has been lost.
[ENOTDIR] A component of the path parameter is not a directory.
[ENXIO] The leset containing the clients current working directory or root directory is
not mounted.
In addition, if the function pointed to by the function parameter encounters an error, errno might
be set accordingly.
RELATED INFORMATION
Functions: ftw(3), longjmp(3), malloc(3), stat(2).
STANDARDS CONFORMANCE
The nftw() function does not return the error values [EMFILE] or [ENFILE].
The following are HP extensions to the XPG4 Version 2 specication:
The error values [EFSBAD], [ENOMEM], [ENOROOT], and [ENXIO] can be returned.
527187-004 Hewlett-Packard Company 57