reference/zmq/zmqpoll/poll.xml
d530899344cd881b6d09ff188e24252651c2f394
...
...
@@ -10,10 +10,10 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<modifier>public</modifier> <type>integer</type><methodname>ZMQPoll::poll</methodname>
13
+
<modifier>public</modifier> <type>int</type><methodname>ZMQPoll::poll</methodname>
14
14
<methodparam><type>array</type><parameter role="reference">readable</parameter></methodparam>
15
15
<methodparam><type>array</type><parameter role="reference">writable</parameter></methodparam>
16
-
<methodparam choice="opt"><type>integer</type><parameter>timeout</parameter><initializer>-1</initializer></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>timeout</parameter><initializer>-1</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
Polls the items in the current poll set. The readable and writable items are returned in the
...
...
@@ -59,6 +59,20 @@
59
59
</para>
60
60
</refsect1>
61
61

62
+
<refsect1 role="returnvalues">
63
+
&reftitle.returnvalues;
64
+
<para>
65
+
Returns an integer representing the amount of items with activity.
66
+
</para>
67
+
</refsect1>
68
+

69
+
<refsect1 role="errors">
70
+
&reftitle.errors;
71
+
<para>
72
+
Throws <classname>ZMQPollException</classname> on error.
73
+
</para>
74
+
</refsect1>
75
+

62
76
<refsect1 role="examples">
63
77
&reftitle.examples;
64
78
<para>
...
...
@@ -134,14 +148,6 @@ while (true) {
134
148
</para>
135
149
</refsect1>
136
150

137
-
<refsect1 role="returnvalues">
138
-
&reftitle.returnvalues;
139
-
<para>
140
-
Returns an integer representing amount of items with activity. Throws ZMQPollException on error.
141
-
</para>
142
-
</refsect1>
143
-

144
-

145
151
</refentry>
146
152

147
153
<!-- Keep this comment at the end of the file
148
154