Guardian C Library Calls Reference Manual
Summary of Library Header Files
Guardian TNS C Library Calls Reference Manual—128833 2-5
<fcntlh>
<fcntlh>
The header fcntlh declares all of the alternate-model I/O functions and several of the
general file and model conversion functions. In addition, fcntlh defines several object-
like macros for use by the open, creat, lseek, edlseek, and fcntl functions.
The functions declared in fcntlh are:
chvol close creat edlseek
fcntl fdtogfn lseek open
read readupdate reply write
writeread unlink
Here are the macros defined for use in open and creat. The meanings of these macros are
described in the discussion of open in Section 3, “Reference to Library Calls”:
O_APPEND O_BINARY O_CREAT O_EXCL
O_EXCLUSIVE O_PROTECTED O_RDONLY O_RDWR
O_SHARED O_SYSMSG O_TEXT O_TRUNC
O_WRONLY
Here are the macros defined for use in lseek and edlseek. The meanings of these macros
are described in the discussions of lseek and edlseek in Section 3, “Reference to Library
Calls”:
SEEK_CUR SEEK_END SEEK_SET
ESPIERR Interface error from SPI
ESPIPE Illegal seek
ESRCH No such process or table entry
ETIMEDOUT Connection timed out
ETXTBSY Object (text) file busy
EUNKNOWN Unknown error
EVERSION Version mismatch
EWOULDBLOCK Operation would block
EXDEV Cross-device link
EWRONGID I/O operation on failed or downed IOP
EXDRDECODE XDR decoding error
EXDRENCODE XDR encoding error
Table 2-1. Macros in Errnoh Header (page 4 of 4)
Macro Meaning