VSF Documented
Data Structures | Macros | Typedefs | Functions | Variables
fcntl.h File Reference
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "./sys/types.h"
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  flock
 
struct  vsf_linux_fcntl_vplt_t
 

Macros

#define fcntl   VSF_LINUX_WRAPPER(fcntl)
 
#define creat   VSF_LINUX_WRAPPER(creat)
 
#define open   VSF_LINUX_WRAPPER(open)
 
#define openat   VSF_LINUX_WRAPPER(openat)
 
#define open64   open
 
#define __NR_fcntl   fcntl
 
#define __NR_creat   creat
 
#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_DIRECTORY   0x0100
 
#define O_CREAT   0x0200
 
#define O_TRUNC   0x0400
 
#define O_EXCL   0x0800
 
#define O_CLOEXEC   0x1000
 
#define O_SYNC   0x2000
 
#define O_ASYNC   0x4000
 
#define O_NOFOLLOW   0x8000
 
#define O_LARGEFILE   0
 
#define O_BINARY   0
 
#define O_NOCTTY   0x2000
 
#define O_NDELAY   O_NONBLOCK
 
#define FNONBLOCK   O_NONBLOCK
 
#define FNDELAY   O_NDELAY
 
#define FAPPEND   O_APPEND
 
#define FASYNC   O_ASYNC
 
#define FSYNC   O_SYNC
 
#define FCREAT   O_CREAT
 
#define FTRUNC   O_TRUNC
 
#define FEXCL   O_EXCL
 
#define FNOCTTY   O_NOCTTY
 
#define FNOFOLLOW   O_NOFOLLOW
 
#define FCLOEXEC   O_CLOEXEC
 
#define FDIRECTORY   O_DIRECTORY
 
#define FSYNC   O_SYNC
 
#define FASYNC   O_ASYNC
 
#define FLARGEFILE   O_LARGEFILE
 
#define FBINARY   O_BINARY
 
#define F_DUPFD   0
 
#define F_GETFD   1
 
#define F_SETFD   2
 
#define F_GETFL   3
 
#define F_SETFL   4
 
#define F_RDLCK   5
 
#define F_WRLCK   6
 
#define F_UNLCK   7
 
#define F_GETLK   8
 
#define F_SETLK   9
 
#define F_SETLKW   10
 
#define F_GETOWN   11
 
#define F_SETOWN   12
 
#define F_GETSIG   13
 
#define F_SETSIG   14
 
#define F_USER   16
 
#define F_IO   16
 
#define AT_FDCWD   -100
 
#define AT_SYMLINK_NOFOLLOW   0x100
 
#define FD_CLOEXEC   1
 
#define __FD_OPENBYLINK   31
 
#define __FD_READALL   2
 

Typedefs

typedef struct vsf_linux_fcntl_vplt_t vsf_linux_fcntl_vplt_t
 

Functions

int __fcntl_va (int fd, int cmd, va_list ap)
 
int fcntl (int fd, int cmd,...)
 
int creat (const char *pathname, mode_t mode)
 
int __open_va (const char *pathname, int flags, va_list ap)
 
int open (const char *pathname, int flags,...)
 
int __openat_va (int dirfd, const char *pathname, int flags, va_list ap)
 
int openat (int dirfd, const char *pathname, int flags,...)
 

Variables

__VSF_VPLT_DECORATOR__ vsf_linux_fcntl_vplt_t vsf_linux_fcntl_vplt
 

Macro Definition Documentation

◆ fcntl

#define fcntl   VSF_LINUX_WRAPPER(fcntl)

◆ creat

#define creat   VSF_LINUX_WRAPPER(creat)

◆ open

#define open   VSF_LINUX_WRAPPER(open)

◆ openat

#define openat   VSF_LINUX_WRAPPER(openat)

◆ open64

#define open64   open

◆ __NR_fcntl

#define __NR_fcntl   fcntl

◆ __NR_creat

#define __NR_creat   creat

◆ O_RDONLY

#define O_RDONLY   0x0000

◆ O_WRONLY

#define O_WRONLY   0x0001

◆ O_RDWR

#define O_RDWR   0x0002

◆ O_ACCMODE

#define O_ACCMODE   0x0003

◆ O_NONBLOCK

#define O_NONBLOCK   0x0004

◆ O_APPEND

#define O_APPEND   0x0008

◆ O_DIRECTORY

#define O_DIRECTORY   0x0100

◆ O_CREAT

#define O_CREAT   0x0200

◆ O_TRUNC

#define O_TRUNC   0x0400

◆ O_EXCL

#define O_EXCL   0x0800

◆ O_CLOEXEC

#define O_CLOEXEC   0x1000

◆ O_SYNC

#define O_SYNC   0x2000

◆ O_ASYNC

#define O_ASYNC   0x4000

◆ O_NOFOLLOW

#define O_NOFOLLOW   0x8000

◆ O_LARGEFILE

#define O_LARGEFILE   0

◆ O_BINARY

#define O_BINARY   0

◆ O_NOCTTY

#define O_NOCTTY   0x2000

◆ O_NDELAY

#define O_NDELAY   O_NONBLOCK

◆ FNONBLOCK

#define FNONBLOCK   O_NONBLOCK

◆ FNDELAY

#define FNDELAY   O_NDELAY

◆ FAPPEND

#define FAPPEND   O_APPEND

◆ FASYNC [1/2]

#define FASYNC   O_ASYNC

◆ FSYNC [1/2]

#define FSYNC   O_SYNC

◆ FCREAT

#define FCREAT   O_CREAT

◆ FTRUNC

#define FTRUNC   O_TRUNC

◆ FEXCL

#define FEXCL   O_EXCL

◆ FNOCTTY

#define FNOCTTY   O_NOCTTY

◆ FNOFOLLOW

#define FNOFOLLOW   O_NOFOLLOW

◆ FCLOEXEC

#define FCLOEXEC   O_CLOEXEC

◆ FDIRECTORY

#define FDIRECTORY   O_DIRECTORY

◆ FSYNC [2/2]

#define FSYNC   O_SYNC

◆ FASYNC [2/2]

#define FASYNC   O_ASYNC

◆ FLARGEFILE

#define FLARGEFILE   O_LARGEFILE

◆ FBINARY

#define FBINARY   O_BINARY

◆ F_DUPFD

#define F_DUPFD   0

◆ F_GETFD

#define F_GETFD   1

◆ F_SETFD

#define F_SETFD   2

◆ F_GETFL

#define F_GETFL   3

◆ F_SETFL

#define F_SETFL   4

◆ F_RDLCK

#define F_RDLCK   5

◆ F_WRLCK

#define F_WRLCK   6

◆ F_UNLCK

#define F_UNLCK   7

◆ F_GETLK

#define F_GETLK   8

◆ F_SETLK

#define F_SETLK   9

◆ F_SETLKW

#define F_SETLKW   10

◆ F_GETOWN

#define F_GETOWN   11

◆ F_SETOWN

#define F_SETOWN   12

◆ F_GETSIG

#define F_GETSIG   13

◆ F_SETSIG

#define F_SETSIG   14

◆ F_USER

#define F_USER   16

◆ F_IO

#define F_IO   16

◆ AT_FDCWD

#define AT_FDCWD   -100

◆ AT_SYMLINK_NOFOLLOW

#define AT_SYMLINK_NOFOLLOW   0x100

◆ FD_CLOEXEC

#define FD_CLOEXEC   1

◆ __FD_OPENBYLINK

#define __FD_OPENBYLINK   31

◆ __FD_READALL

#define __FD_READALL   2

Typedef Documentation

◆ vsf_linux_fcntl_vplt_t

Function Documentation

◆ __fcntl_va()

int __fcntl_va ( int  fd,
int  cmd,
va_list  ap 
)

◆ fcntl()

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

◆ creat()

int creat ( const char *  pathname,
mode_t  mode 
)

◆ __open_va()

int __open_va ( const char *  pathname,
int  flags,
va_list  ap 
)

◆ open()

int open ( const char *  pathname,
int  flags,
  ... 
)

◆ __openat_va()

int __openat_va ( int  dirfd,
const char *  pathname,
int  flags,
va_list  ap 
)

◆ openat()

int openat ( int  dirfd,
const char *  pathname,
int  flags,
  ... 
)

Variable Documentation

◆ vsf_linux_fcntl_vplt

__VSF_VPLT_DECORATOR__ vsf_linux_fcntl_vplt_t vsf_linux_fcntl_vplt
extern