@@ -36,8 +36,8 @@ int nn_poll(struct nn_pollfd *pfds, int npfd, int timeout);
36
36
The `nn_poll()` function polls a group of sockets for readiness to send or receive.
37
37
38
38
NOTE: This function is provided for API
39
- << nng_compat.3compat#, compatibility>> with legacy _libnanomsg_.
40
- Consider using the relevant << libnng.3#, modern API>> instead.
39
+ xref: nng_compat.3compat.adoc[ compatibility] with legacy _libnanomsg_.
40
+ Consider using the relevant xref: libnng.3.adoc[ modern API] instead.
41
41
42
42
The array of _nfds_ sockets to poll for are passed into _pfds_.
43
43
Each member of this array is initialized with the `fd` field set to
@@ -67,10 +67,10 @@ If the _timeout_ is -1, then the function waits forever, or until one of the
67
67
requested events occurs.
68
68
69
69
IMPORTANT: This function is only suitable for use with sockets obtained with the
70
- `<< nn_socket.3compat#, nn_socket()>>` function, and is not compatible
70
+ xref: nn_socket.3compat.adoc[` nn_socket()`] function, and is not compatible
71
71
with file descriptors obtained via any other means.
72
72
This includes file descriptors obtained using the `NN_SNDFD` or `NN_RCVFD`
73
- options with `<< nn_getsockopt.3compat#, nn_getsockopt()>>`
73
+ options with xref: nn_getsockopt.3compat.adoc[` nn_getsockopt()`]
74
74
75
75
NOTE: This function is significantly less efficient than other polling
76
76
or asynchronous I/O mechanisms, and is provided for API compatibility only.
@@ -94,9 +94,9 @@ This function returns the number of sockets with events on success, or -1 on err
94
94
== SEE ALSO
95
95
96
96
[.text-left]
97
- << nn_errno.3compat#, nn_errno(3compat)>> ,
98
- << nn_recv.3compat#, nn_recv(3compat)>> ,
99
- << nn_send.3compat#, nn_send(3compat)>> ,
100
- << nn_socket.3compat#, nn_socket(3compat)>> ,
101
- << nng_compat.3compat#, nn_compat(3compat)>> ,
102
- << nng.7#, nng(7)>>
97
+ xref: nn_errno.3compat.adoc[ nn_errno(3compat)] ,
98
+ xref: nn_recv.3compat.adoc[ nn_recv(3compat)] ,
99
+ xref: nn_send.3compat.adoc[ nn_send(3compat)] ,
100
+ xref: nn_socket.3compat.adoc[ nn_socket(3compat)] ,
101
+ xref: nng_compat.3compat.adoc[ nn_compat(3compat)] ,
102
+ xref: nng.7.adoc[ nng(7)]
0 commit comments