Open System Services Programmer's Guide
Table 8 OSS File-System Functions (continued)
Guardian NotesOSS NotesOSS Function
This call sets errno to EBUSY when the
directory is a mount point.
Can return extended errors.
OSS SEEP consultation.
scandir64() can access both small
files and large files.
scandir()
scandir64()
Scans a directory and builds an array
of pointers to copies of selected
directory entries.
Can return extended errors.seekdir()
If, after a call to fork() or
tdm_fork(), both the parent and
Sets the position in a directory stream.
Refer to opendir().
the child processes make calls to
seekdir() to access the same OSS
directory, the results of the calls are
undefined.
FDM set.Can return extended errors.select()
Can return Guardian file-system error
numbers in errno.
Selects among file descriptors for
synchronous I/O multiplexing.
FDM set.Can return extended errors.socket()
Creates an endpoint for
communications.
FDM set.Can return extended errors.socketpair()
Creates an endpoint for
communications.
FDM set.For files other than regular disk files,
st_size is set to 0 (zero), and for
directories, to 4096.
stat()
There are security and permission
mapping considerations. Refer to the
stat64()
Provides information about a
file.stat() function.
The following bits are ORed into the
st_mode field of the stat structure:
reference page for detailed information
about using stat() on Guardian files.
S_IRWXU
S_IRWXG
S_IRWXO
S_IFMT
S_ISVTX
S_NONSTOP
S_ISGID
S_ISUID
Can return extended errors.
Can return Guardian file-system error
numbers in errno.
stat64() can access both small files
and large files.
FDM set.statvfs64() can access both small
files and large files.
statvfs()
statvfs64()
Gets fileset information using a
pathname.
FDM set.Can return extended errors.symlink()
This function cannot be used on an
object in /G because symbolic links
cannot be created in /G.
OSS SEEP consultation.
Makes a symbolic link to a file.
98 Managing Files