next up previous contents index
Next: 9.4.7 float.h: constants describing Up: 9.4 Header Files Previous: 9.4.5 errno.h: error numbers

9.4.6 fcntl.h: POSIX low-level file control

     

DESCRIPTION

This header file defines prototypes for the low-level POSIX functions creat and open, and provides symbolic constants for the POSIX open mode flags (O_*).

The open mode constants defined by this header are identical to and interchangeable with the corresponding constants defined in oskit/fs/file.h for the oskit_file COM interface (see 7.4. These definitions are provided so that clients may standardize on a single set of defintions, which are the same as those used by the COM components. For example, the FreeBSD C library includes this header file, thus providing compatibility between the the two libraries and the disk-based file systems.

Extended functionality.

An implementation of open is provided, and is based on the COM interfaces. create merely calls open with the proper arguments.



University of Utah Flux Research Group