pollfd.md 3.0 KB
Newer Older
W
wenjun 已提交
1 2
# pollfd<a name="ZH-CN_TOPIC_0000001055678140"></a>

[
[yang] 已提交
3 4 5 6 7 8 9 10 11 12
-   [Overview](#section810147763165637)
-   [Summary](#section1549798616165637)
-   [Data Fields](#pub-attribs)
-   [Details](#section916150739165637)
-   [Field](#section1379130010165637)
-   [events](#ac9b2f2c5b1f9a7487eb57e67cd4960ef)
-   [fd](#a57e1c316fb063e468d680b6246147861)
-   [revents](#aafb457d11cac415faf0e1e2b825118c2)

## **Overview**<a name="section810147763165637"></a>
W
wenjun 已提交
13 14 15

**Related Modules:**

[
[yang] 已提交
16
[IO](IO.md)
W
wenjun 已提交
17 18 19 20 21 22 23

**Description:**

Defines I/O multiplexing. 

This structure is used to describe the content during I/O multiplexing, including the file descriptor, event mask, and returned event mask. 

[
[yang] 已提交
24
## **Summary**<a name="section1549798616165637"></a>
W
wenjun 已提交
25 26 27

## Data Fields<a name="pub-attribs"></a>

[
[yang] 已提交
28 29
<a name="table1710611845165637"></a>
<table><thead align="left"><tr id="row1971714895165637"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p799168723165637"><a name="p799168723165637"></a><a name="p799168723165637"></a>Variable Name</p>
W
wenjun 已提交
30
</th>
[
[yang] 已提交
31
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p533480775165637"><a name="p533480775165637"></a><a name="p533480775165637"></a>Description</p>
W
wenjun 已提交
32 33 34
</th>
</tr>
</thead>
[
[yang] 已提交
35
<tbody><tr id="row1457132788165637"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p650906202165637"><a name="p650906202165637"></a><a name="p650906202165637"></a><a href="pollfd.md#a57e1c316fb063e468d680b6246147861">fd</a></p>
W
wenjun 已提交
36
</td>
[
[yang] 已提交
37
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1011018426165637"><a name="p1011018426165637"></a><a name="p1011018426165637"></a>int </p>
W
wenjun 已提交
38 39
</td>
</tr>
[
[yang] 已提交
40
<tr id="row1685122616165637"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1626484303165637"><a name="p1626484303165637"></a><a name="p1626484303165637"></a><a href="pollfd.md#ac9b2f2c5b1f9a7487eb57e67cd4960ef">events</a></p>
W
wenjun 已提交
41
</td>
[
[yang] 已提交
42
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p953745235165637"><a name="p953745235165637"></a><a name="p953745235165637"></a>short </p>
W
wenjun 已提交
43 44
</td>
</tr>
[
[yang] 已提交
45
<tr id="row1243711499165637"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p903266189165637"><a name="p903266189165637"></a><a name="p903266189165637"></a><a href="pollfd.md#aafb457d11cac415faf0e1e2b825118c2">revents</a></p>
W
wenjun 已提交
46
</td>
[
[yang] 已提交
47
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1297564684165637"><a name="p1297564684165637"></a><a name="p1297564684165637"></a>short </p>
W
wenjun 已提交
48 49 50 51 52
</td>
</tr>
</tbody>
</table>

[
[yang] 已提交
53
## **Details**<a name="section916150739165637"></a>
W
wenjun 已提交
54

[
[yang] 已提交
55
## **Field **<a name="section1379130010165637"></a>
W
wenjun 已提交
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86

## events<a name="ac9b2f2c5b1f9a7487eb57e67cd4960ef"></a>

```
short pollfd::events
```

 **Description:**

Event mask to be queried 

## fd<a name="a57e1c316fb063e468d680b6246147861"></a>

```
int pollfd::fd
```

 **Description:**

File descriptor 

## revents<a name="aafb457d11cac415faf0e1e2b825118c2"></a>

```
short pollfd::revents
```

 **Description:**

Returned event mask