1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
poll-h.md 7.02 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

poll.h

Overview

Related Modules:

IO

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.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

搜索帮助