加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:02
#
文件名称:
poll-h.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
7.02 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# poll.h
## **Overview**
**Related Modules:**
[IO](IO.md)
**Description:**
Declares I/O multiplexing functions.
You can use the functions provided in this file to perform I/O multiplexing.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures









Data Structure Name


Description


pollfd


Defines I/O multiplexing.



## Macros
























Macro Name and Value


Description


POLLIN   0x001


POLLIN event.


POLLPRI   0x002


POLLPRI event.


POLLOUT   0x004


POLLOUT event.


POLLERR   0x008


POLLERR event.


POLLHUP   0x010


POLLHUP event.


POLLNVAL   0x020


POLLNVAL event.



## Typedefs









Typedef Name


Description


nfds_t


typedef unsigned long 


Number of poll types.



## Functions









Function Name


Description


poll (struct pollfd fds[], nfds_t nfds, int timeout)


int 


Defines the I/O multiplexing system.


点赞 回复
回帖
支持markdown部分语法 ?