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

Go to the source code of this file.

Data Structures

union  epoll_data
 
struct  epoll_event
 
struct  vsf_linux_sys_epoll_vplt_t
 

Macros

#define EPOLL_CLOEXEC   O_CLOEXEC
 
#define EPOLL_CTL_ADD   0
 
#define EPOLL_CTL_MOD   1
 
#define EPOLL_CTL_DEL   2
 
#define EPOLLIN   POLLIN
 
#define EPOLLOUT   POLLOUT
 
#define EPOLLHUP   POLLHUP
 
#define EPOLLERR   POLLERR
 
#define EPOLLPRI   POLLPRI
 
#define EPOLLET   (1 << 16)
 
#define EPOLLONESHOT   (1 << 17)
 
#define EPOLLWAKEUP   (1 << 18)
 
#define EPOLLEXCLUSIVE   (1 << 19)
 
#define epoll_create   VSF_LINUX_WRAPPER(epoll_create)
 
#define epoll_create1   VSF_LINUX_WRAPPER(epoll_create1)
 
#define epoll_ctl   VSF_LINUX_WRAPPER(epoll_ctl)
 
#define epoll_wait   VSF_LINUX_WRAPPER(epoll_wait)
 
#define epoll_pwait   VSF_LINUX_WRAPPER(epoll_pwait)
 
#define epoll_pwait2   VSF_LINUX_WRAPPER(epoll_pwait2)
 
#define __NR_epoll_create   epoll_create
 
#define __NR_epoll_create1   epoll_create1
 
#define __NR_epoll_ctl   epoll_ctl
 
#define __NR_epoll_wait   epoll_wait
 
#define __NR_epoll_pwait(__epfd, __events, __maxevents, __timeout, __set, __set_size)    epoll_pwait((__epfd), (__events), (__maxevents), (__timeout), (__set))
 

Typedefs

typedef union epoll_data epoll_data_t
 
typedef struct vsf_linux_sys_epoll_vplt_t vsf_linux_sys_epoll_vplt_t
 

Functions

int epoll_create (int size)
 
int epoll_create1 (int flags)
 
int epoll_ctl (int epfd, int op, int fd, struct epoll_event *event)
 
int epoll_wait (int epfd, struct epoll_event *events, int maxevents, int timeout)
 
int epoll_pwait (int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask)
 
int epoll_pwait2 (int epfd, struct epoll_event *events, int maxevents, const struct timespec *timeout, const sigset_t *sigmask)
 

Variables

struct epoll_event VSF_CAL_PACKED
 
__VSF_VPLT_DECORATOR__ vsf_linux_sys_epoll_vplt_t vsf_linux_sys_epoll_vplt
 

Macro Definition Documentation

◆ EPOLL_CLOEXEC

#define EPOLL_CLOEXEC   O_CLOEXEC

◆ EPOLL_CTL_ADD

#define EPOLL_CTL_ADD   0

◆ EPOLL_CTL_MOD

#define EPOLL_CTL_MOD   1

◆ EPOLL_CTL_DEL

#define EPOLL_CTL_DEL   2

◆ EPOLLIN

#define EPOLLIN   POLLIN

◆ EPOLLOUT

#define EPOLLOUT   POLLOUT

◆ EPOLLHUP

#define EPOLLHUP   POLLHUP

◆ EPOLLERR

#define EPOLLERR   POLLERR

◆ EPOLLPRI

#define EPOLLPRI   POLLPRI

◆ EPOLLET

#define EPOLLET   (1 << 16)

◆ EPOLLONESHOT

#define EPOLLONESHOT   (1 << 17)

◆ EPOLLWAKEUP

#define EPOLLWAKEUP   (1 << 18)

◆ EPOLLEXCLUSIVE

#define EPOLLEXCLUSIVE   (1 << 19)

◆ epoll_create

#define epoll_create   VSF_LINUX_WRAPPER(epoll_create)

◆ epoll_create1

#define epoll_create1   VSF_LINUX_WRAPPER(epoll_create1)

◆ epoll_ctl

#define epoll_ctl   VSF_LINUX_WRAPPER(epoll_ctl)

◆ epoll_wait

#define epoll_wait   VSF_LINUX_WRAPPER(epoll_wait)

◆ epoll_pwait

#define epoll_pwait   VSF_LINUX_WRAPPER(epoll_pwait)

◆ epoll_pwait2

#define epoll_pwait2   VSF_LINUX_WRAPPER(epoll_pwait2)

◆ __NR_epoll_create

#define __NR_epoll_create   epoll_create

◆ __NR_epoll_create1

#define __NR_epoll_create1   epoll_create1

◆ __NR_epoll_ctl

#define __NR_epoll_ctl   epoll_ctl

◆ __NR_epoll_wait

#define __NR_epoll_wait   epoll_wait

◆ __NR_epoll_pwait

#define __NR_epoll_pwait (   __epfd,
  __events,
  __maxevents,
  __timeout,
  __set,
  __set_size 
)     epoll_pwait((__epfd), (__events), (__maxevents), (__timeout), (__set))

Typedef Documentation

◆ epoll_data_t

typedef union epoll_data epoll_data_t

◆ vsf_linux_sys_epoll_vplt_t

Function Documentation

◆ epoll_create()

int epoll_create ( int  size)

◆ epoll_create1()

int epoll_create1 ( int  flags)

◆ epoll_ctl()

int epoll_ctl ( int  epfd,
int  op,
int  fd,
struct epoll_event event 
)

◆ epoll_wait()

int epoll_wait ( int  epfd,
struct epoll_event events,
int  maxevents,
int  timeout 
)

◆ epoll_pwait()

int epoll_pwait ( int  epfd,
struct epoll_event events,
int  maxevents,
int  timeout,
const sigset_t sigmask 
)

◆ epoll_pwait2()

int epoll_pwait2 ( int  epfd,
struct epoll_event events,
int  maxevents,
const struct timespec timeout,
const sigset_t sigmask 
)

Variable Documentation

◆ VSF_CAL_PACKED

struct epoll_event VSF_CAL_PACKED

◆ vsf_linux_sys_epoll_vplt

__VSF_VPLT_DECORATOR__ vsf_linux_sys_epoll_vplt_t vsf_linux_sys_epoll_vplt
extern