Open System Services Programmer's Guide
Table 8 OSS File-System Functions (continued)
Guardian NotesOSS NotesOSS Function
nftw64() can access both small files
and large files.
do not affect the outcome of a call to
nftw().
FDM set.Many flags are implementation
defined.
open()
There is too much Guardian information
to summarize here. For Guardian
open64()
Can return extended errors.
Opens a file for reading or writing or
creates a file in the OSS environment.
information, refer to the reference
pages and to “Accessing OSS Files
Larger Than 2 GB” (page 78).
Can return Guardian file-system error
numbers in errno.
open64() can access both small files
and large files.
OSS SEEP consultation.
FDM set.Can return extended errors.opendir()
There is too much Guardian information
about using this call on /G and its
There is too much OSS information
about the HP implementation of this
function to summarize here. For OSS
Performs operations on directories.
contents to summarize here. For
information, refer to the reference
pages.
detailed Guardian information, refer to
the reference pages.
OSS SEEP consultation.
FDM set.Can return extended errors.pathconf()
A call to pathconf() for a regular
file or terminal character file in /G
Retrieves file implementation
characteristics.
succeeds for any of the following
constants:
_PC_CHOWN_RESTRICTED
_PC_LINK_MAX
_PC_NAME_MAX
_PC_PATH_MAX
_PC_PIPE_BUF
If the file named by the path parameter
is an empty Guardian subvolume,
errno is not set to ENOENT.
Can return Guardian file-system error
numbers in errno.
pipe()
Creates an interprocess-communication
channel.
The value of the file pointer returned
for a device that is incapable of
seeking is always 0.
read()
Reads from a file.
The return of EOF from a device
special file has no effect on
subsequent read() calls.
If nbytes > SSIZE_MAX, -1 is
returned and errno is set to EINVAL.
Can return extended errors.
Can return Guardian file-system error
numbers in errno.
Available beginning with the H06.24
and J06.13 RVUs. Can be called with
read64_()
Reads from a file.
either a 32-bit or 64-bit pointer
argument.
The value of the file pointer returned
for a device that is incapable of
seeking is always 0.
96 Managing Files