PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Provides fcntl() interface API macros. More...
Go to the source code of this file.
Macros | |
#define | O_RDONLY 0 |
#define | O_WRONLY 1 |
#define | O_RDWR 2 |
#define | O_ACCMODE (O_RDWR|O_WRONLY) |
#define | O_CREAT 4 |
#define | O_TRUNC 8 |
#define | O_EXCL 16 |
#define | O_APPEND 32 |
#define | FD_CLOEXEC 0x100 |
#define | F_SETFD 0x200 |
Functions | |
int | open () |
Provides fcntl() interface API macros.
The fcntl() function is only provided in this library to support libstdc++ std namespace.
The fcntl() function is not really useful as Propeller-GCC does not implement fcntl().
Definition in file fcntl.h.
#define F_SETFD 0x200 |
#define FD_CLOEXEC 0x100 |
int open | ( | ) |
Open a file; this translates into a call to fopen. Note that open may be declared with either 2 or 3 arguments, and many legacy applications do not declare it with the modern ... notation for variable number of arguments, so we deliberately make its declaration old-style and without prototypes.