API published in:
API deprecated in:
#include <sys/cdefs.h>
#include <sys/_types.h>
Go to the source code of this file.
Data Structures |
|
struct | flock |
Defines |
|
#define | O_RDONLY 0x0000 |
#define | O_WRONLY 0x0001 |
#define | O_RDWR 0x0002 |
#define | O_ACCMODE 0x0003 |
#define | O_NONBLOCK 0x0004 |
#define | O_APPEND 0x0008 |
#define | O_SYNC 0x0080 |
#define | O_CREAT 0x0200 |
#define | O_TRUNC 0x0400 |
#define | O_EXCL 0x0800 |
#define | O_NOCTTY 0x8000 |
#define | _FBUFFERED 0x10000 |
#define | _FBINARY 0x10000 |
#define | _FTEXT 0x20000 |
#define | O_BINARY _FBINARY |
#define | O_TEXT _FTEXT |
#define | O_BUFFERED _FBUFFERED |
#define | F_DUPFD 0 |
#define | F_GETFD 1 |
#define | F_SETFD 2 |
#define | F_GETFL 3 |
#define | F_SETFL 4 |
#define | F_GETLK 7 |
#define | F_SETLK 8 |
#define | F_SETLKW 9 |
#define | FD_CLOEXEC 1 |
#define | F_RDLCK 1 |
#define | F_UNLCK 2 |
#define | F_WRLCK 3 |
Typedefs |
|
typedef __mode_t | mode_t |
typedef __off_t | off_t |
typedef __pid_t | pid_t |
Functions |
|
__BEGIN_DECLS IMPORT_C int | open (const char *, int,...) |
IMPORT_C int | creat (const char *, mode_t) |
IMPORT_C int | fcntl (int, int,...) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|