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.
An implementation of open is provided, and is based on the COM interfaces. create merely calls open with the proper arguments.