Open System Services Programmer's Guide

Table 8 OSS File-System Functions (continued)
Guardian NotesOSS NotesOSS Function
Can return ENXIO, whose value is an
optional extension defined in the
Closes a stream.
XPG4 specification but is not defined
in the POSIX standards.
Access to the file through a Guardian
procedure call cannot be blocked by
an OSS lock.
Does not return EDEADLK.
Advisory record locking is supported
only for regular files; attempts on other
files give EINVAL.
fcntl()
Controls open file descriptors.
Guardian use of OSS sockets is not
supported.
l_len parameter can be negative.
Can return extended errors.
Can return Guardian file-system error
numbers in errno.
Can return Guardian file-system error
numbers in errno.
fopen()
fopen64()
fopen64() can access both small
files and large files
Opens a file and associates a stream
with it.
OSS SEEP consultation.
Distinguishes between text and binary
files.
Can return Guardian file-system error
numbers in errno.
fopen_guardian()
fopen64_guardian()
Explicit calls are made only when the
unique behavior is desired. Otherwise
use fopen().
fopen64_guardian() can access
both small files and large files.
Opens a stream (Guardian fopen()
function).
Does not distinguish between text and
binary files.
fopen_oss()
fopen64_oss()
Explicit calls are made only when the
unique behavior is desired. Otherwise
use fopen().
Opens a stream (OSS fopen()
function).
Can return Guardian file-system error
numbers in errno.
fopen64_oss() can access both
small files and large files.
OSS SEEP consultation.
FDM set.Can return extended errors.fpathconf()
A call to pathconf() for a regular
file or terminal character file in /G
Refer to pathconf().
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.
fread()
Performs input operations.
Can return extended errors.fstat()
Can return Guardian file-system error
numbers in errno.
fstat64()
Refer to stat().
OSS File-System Functions 93