VSF Documented
|
#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 |
#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)) |
typedef union epoll_data epoll_data_t |
typedef struct vsf_linux_sys_epoll_vplt_t vsf_linux_sys_epoll_vplt_t |
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 | ||
) |
struct epoll_event VSF_CAL_PACKED |
|
extern |