21 lines · 966 B · Text
RawDownload
.TH libssh2_poll 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual".SH NAMElibssh2_poll - poll for activity on a socket, channel or listener.SH SYNOPSIS#include <libssh2.h> int libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds, long timeout);.SH DESCRIPTIONThis function is deprecated. Do note use. We encourage users to instead usethe \fIpoll(3)\fP or \fIselect(3)\fP functions to check for socket activity orwhen specific sockets are ready to get recevied from or send to. Poll for activity on a socket, channel, listener, or any combination of thesethree types. The calling semantics for this function generally match\fIpoll(2)\fP however the structure of fds is somewhat more complex in orderto accommodate the disparate datatypes, POLLFD constants have been namespacedto avoid platform discrepancies, and revents has additional values defined..SH "RETURN VALUE"Number of fds with interesting events..SH SEE ALSO.BR libssh2_poll_channel_read(3)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t