libssh2_poll: refer to poll(3) and select(3) instead

This commit is contained in:
Daniel Stenberg 2010-06-08 08:37:37 +02:00
parent 4e10882e06
commit 0ad1a52a09

View File

@ -8,7 +8,9 @@ libssh2_poll - poll for activity on a socket, channel or listener
int libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds, long timeout);
.SH DESCRIPTION
This function is deprecated. Do note use.
This function is deprecated. Do note use. We encourage users to instead use
the \fIpoll(3)\fP or \fIselect(3)\fP functions to check for socket activity or
when specific sockets are ready to get recevied from or send to.
Poll for activity on a socket, channel, listener, or any combination of these
three types. The calling semantics for this function generally match