VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "../sys/time.h"
#include "../signal.h"
#include "utilities/vsf_utilities.h"
Go to the source code of this file.
Data Structures | |
struct | fd_set |
struct | vsf_linux_sys_select_vplt_t |
Macros | |
#define | select VSF_LINUX_WRAPPER(select) |
#define | __NR_select select |
#define | FD_SETSIZE 1024 |
#define | FD_ZERO(set) vsf_bitmap_reset((set)->fds_bits, FD_SETSIZE) |
#define | FD_SET(fd, set) vsf_bitmap_set((set)->fds_bits, (fd)) |
#define | FD_CLR(fd, set) vsf_bitmap_clear((set)->fds_bits, (fd)) |
#define | FD_ISSET(fd, set) vsf_bitmap_get((set)->fds_bits, (fd)) |
#define | NFDBITS (sizeof(fd_mask) << 3) |
Typedefs | |
typedef uintalu_t | fd_mask |
typedef struct fd_set | fd_set |
typedef struct vsf_linux_sys_select_vplt_t | vsf_linux_sys_select_vplt_t |
Functions | |
int | select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
int | pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout_ts, const sigset_t *sigmask) |
Variables | |
__VSF_VPLT_DECORATOR__ vsf_linux_sys_select_vplt_t | vsf_linux_sys_select_vplt |
#define select VSF_LINUX_WRAPPER(select) |
#define __NR_select select |
#define FD_SETSIZE 1024 |
#define FD_ZERO | ( | set | ) | vsf_bitmap_reset((set)->fds_bits, FD_SETSIZE) |
#define FD_SET | ( | fd, | |
set | |||
) | vsf_bitmap_set((set)->fds_bits, (fd)) |
#define FD_CLR | ( | fd, | |
set | |||
) | vsf_bitmap_clear((set)->fds_bits, (fd)) |
#define FD_ISSET | ( | fd, | |
set | |||
) | vsf_bitmap_get((set)->fds_bits, (fd)) |
#define NFDBITS (sizeof(fd_mask) << 3) |
typedef struct vsf_linux_sys_select_vplt_t vsf_linux_sys_select_vplt_t |
int select | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout | ||
) |
int pselect | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
const struct timespec * | timeout_ts, | ||
const sigset_t * | sigmask | ||
) |
|
extern |