1libssh2_poll(3)                 libssh2 manual                 libssh2_poll(3)
2
3
4

NAME

6       libssh2_poll - poll for activity on a socket, channel or listener
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds, long timeout);
12

DESCRIPTION

14       This function is deprecated. Do note use.
15
16       Poll for activity on a socket, channel, listener, or any combination of
17       these three types. The calling semantics for  this  function  generally
18       match  poll(2) however the structure of fds is somewhat more complex in
19       order to accommodate the disparate  datatypes,  POLLFD  constants  have
20       been  namespaced to avoid platform discrepancies, and revents has addi‐
21       tional values defined.
22

RETURN VALUE

24       Number of fds with interesting events.
25

SEE ALSO

27       libssh2_poll_channel_read(3)
28
29
30
31libssh2 0.15                      14 Dec 2006                  libssh2_poll(3)
Impressum