Open System Services Library Calls Reference Manual (G06.28+, H06.05+)
readdir(3) OSS Library Calls Reference Manual
[ENXIO] 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 until the fileset has been repaired and remounted.
[EOVERFLOW]
The inode number (serial number) is greater than 2 gigabytes minus 1 byte. |
[EWRONGID] The call cannot be completed because an input/output process has failed or is in
the down state.
RELATED INFORMATION
Functions: closedir(3), mkdir(2), opendir(3), readdir64(3), rewinddir(3), rmdir(2), seek- |
dir(3), telldir(3). |
STANDARDS CONFORMANCE
|
The POSIX standards leave some features to the implementing vendor to define. The following |
features are affected in the HP implementation: |
|
• ||
If files are removed from a directory after the most recent call to the opendir() or |
rewinddir( ) function but prior to the first call to the readdir() function, the readdir() |
function does not return entries for these files. If files are added to a directory after the |
most recent call to the opendir() or rewinddir() function but prior to the first call to the |
readdir() function, the readdir() function returns entries for these files. |
|
• ||
The ramifications of buffering more than one directory entry per read operation are |
defined. |
|
• ||
After a call to one of the exec set of functions, all open directory streams are closed |
automatically. |
|
• ||
The ramifications of having both the parent and child processes access the same OSS |
directory after a call to the fork() or tdm_fork() function are undefined. |
|
• ||
The consequences of calling directory functions with a dir_pointer parameter that does |
not refer to a currently opened directory stream are defined. (The error value [EBADF] |
or [EFAULT] is returned or a SIGSEGV or SIGILL signal is returned.) |
|
• ||
The error values [EFAULT], [EINVAL], [EIO], [ENOENT], [ENOMEM], [ENOROOT], |
and [EWRONGID] can be returned. |
5−72 Hewlett-Packard Company 527187-007