物联网操作系统AliOS Things 3.3
select.h 文件参考
#include <poll.h>

浏览源代码.

宏定义

#define POLLIN   0x001
 
#define POLLOUT   0x004
 
#define POLLERR   0x008
 

函数

int aos_poll (struct pollfd *fds, int nfds, int timeout)
 
int aos_select (int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset, struct timeval *timeout)
 

宏定义说明

◆ POLLERR

#define POLLERR   0x008

在文件 select.h15 行定义.

◆ POLLIN

#define POLLIN   0x001

在文件 select.h11 行定义.

◆ POLLOUT

#define POLLOUT   0x004

在文件 select.h13 行定义.

函数说明

◆ aos_poll()

int aos_poll(struct pollfd * fds,
int nfds,
int timeout 
)

◆ aos_select()

int aos_select(int maxfd,
fd_set * readset,
fd_set * writeset,
fd_set * exceptset,
struct timeval * timeout 
)