Iros
 
Loading...
Searching...
No Matches
fcntl.h File Reference
#include <ccpp/bits/config.h>
#include <ccpp/bits/off_t.h>

Go to the source code of this file.

Macros

#define O_RDONLY   0x0001
 
#define O_WRONLY   0x0002
 
#define O_RDWR   0x0004
 
#define O_CREAT   0x0008
 
#define O_EXCL   0x0010
 
#define O_TRUNC   0x0020
 
#define F_SETFD   1
 

Functions

int open (char const *__CCPP_RESTRICT __path, int __flags,...)
 
int fcntl (int fd, int cmd,...)
 

Macro Definition Documentation

◆ F_SETFD

#define F_SETFD   1

◆ O_CREAT

#define O_CREAT   0x0008

◆ O_EXCL

#define O_EXCL   0x0010

◆ O_RDONLY

#define O_RDONLY   0x0001

◆ O_RDWR

#define O_RDWR   0x0004

◆ O_TRUNC

#define O_TRUNC   0x0020

◆ O_WRONLY

#define O_WRONLY   0x0002

Function Documentation

◆ fcntl()

int fcntl ( int fd,
int cmd,
... )

◆ open()

int open ( char const *__CCPP_RESTRICT __path,
int __flags,
... )