Open System Services Library Calls Reference Manual (G06.28+, H06.05+)
OSS Library Calls (n - r) opendir(3)
[EPERM] One of the following conditions occurred:
• The function attempted to open a Guardian process (the specified path-
name maps to /G/process) or a Guardian subvolume with a name begin-
ning with ZYQ.
• The function attempted to open the /E directory on a remote system or a
directory within the /E directory on a remote system.
RELATED INFORMATION
Functions: closedir(3), mkdir(2), readdir(3), rewinddir(3), rmdir(2), seekdir(3), telldir(3).
STANDARDS CONFORMANCE
The opendir( ) function does not return the error value [ENFILE].
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.
• After a call to one of the set of exec 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 following are HP extensions to the XPG4 Version 2 specification:
• The error values [EFSBAD], [ENOCRE], [ENOMEM], [ENOROOT], [ENXIO],
[EOSSNOTRUNNING], and [EPERM] can be returned.
527187-007 Hewlett-Packard Company 5−23