Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

scandir64(3) Guardian Native C Library Calls Reference Manual
RETURN VALUES
Upon successful completion, the scandir64( ) function returns the number of entries selected.
The namelist parameter returns a pointer to the array of entry pointers. If scandir64( ) is not suc-
cessful, -1 is returned. When an underlying call to another function encounters an error, errno is
set to indicate the error.
ERRORS
These underlying functions can cause the scandir64() function to report an errno value: open-
dir(), readdir(), and malloc(). For information about the errors reported by these functions, see
the reference pages for the functions.
RELATED INFORMATION
Functions: closedir(3), mkdir(2), opendir(3), readdir(3), rewinddir(3), rmdir(2), seekdir(3),
telldir(3).
STANDARDS CONFORMANCE
This function is an HP extension to the XPG4 Version 2 specification.
618 Hewlett-Packard Company 527192-018