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

readdir(3) OSS Library Calls Reference Manual
[ENXIO] 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 until the leset has been repaired and remounted.
[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), rewinddir(3), rmdir(2), seekdir(3), telldir(3).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
If les are removed from a directory after the most recent call to the opendir() or
rewinddir( ) function but prior to the rst call to the readdir() function, the readdir()
function does not return entries for these les. If les are added to a directory after the
most recent call to the opendir() or rewinddir() function but prior to the rst call to the
readdir() function, the readdir() function returns entries for these les.
The ramications of buffering more than one directory entry per read operation are
dened.
After a call to one of the exec set of functions, all open directory streams are closed
automatically.
The ramications of having both the parent and child processes access the same OSS
directory after a call to the fork() or tdm_fork() function are undened.
The consequences of calling directory functions with a dir_pointer parameter that does
not refer to a currently opened directory stream are dened. (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.
The following are HP extensions to the XPG4 Version 2 specication:
The error values [EFAULT], [EINVAL], [EIO], [ENOENT], [ENOMEM], [ENET-
DOWN], [ENOROOT], [ENXIO], and [EWRONGID] can be returned.
566 Hewlett-Packard Company 527187-004