Open System Services Programmer's Guide

Table 8 OSS File-System Functions (continued)
Guardian NotesOSS NotesOSS Function
Can return extended errors.telldir()
Returns the current location of a
directory stream.
Can return extended errors.ulimit()
The error EINVAL is returned when
the second parameter is too large.
Sets and gets file size limits.
umask()
Sets and gets the value of the file
mode creation mask.
FDM set.The calling process requires both
execute (search) and write access
unlink()
Removes a directory entry.
permission for the directory of the file
being unlinked.
unlink() is not supported for
directories.
Can return extended errors.
OSS SEEP consultation.
FDM set.Can return extended errors.utime()
The file access time is not updated for
I/O operations performed on a file that
is opened in the Guardian environment.
OSS SEEP consultation.
Sets the file access and modification
times.
Attempting to write to a Guardian file
that is locked with Guardian locks
Calls to write() with nbytes=0
are supported for all files.
write()
Writes to a file.
returns -1 and sets errno to
EGUARDIANLOCKED.
If nbytes > SSIZE_MAX, write()
returns -1 and errno is set to
EINVAL.
errno can be set to EIO if a physical
I/O error occurs.
Can return extended errors.
Can return Guardian file-system error
numbers in errno.
Attempting to write to a Guardian file
that is locked with Guardian locks
Available beginning with the H06.24
and J06.13 RVUs. Can be called with
write64_()
Writes to a file.
returns -1 and sets errno to
EGUARDIANLOCKED.
either a 32-bit or 64-bit pointer
argument.
Calls to write64_() with
nbytes=0 are supported for all files.
If nbytes > SSIZE_MAX,
write64_() returns -1 and errno
is set to EINVAL.
errno can be set to EIO if a physical
I/O error occurs.
Can return extended errors.
Can return Guardian file-system error
numbers in errno.
Attempting to write to a Guardian file
that is locked with Guardian locks
Can return Guardian file-system error
numbers in errno.
writev()
Writes to a file from scattered buffers.
returns -1 and sets errno to
EGUARDIANLOCKED.
OSS File-System Functions 99