mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Document poll failures
Resolved: https://gitlab.com/libssh/libssh-mirror/-/issues/46 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
c9263dea2b
commit
07f4d5e723
@@ -964,11 +964,13 @@ int ssh_event_add_connector(ssh_event event, ssh_connector connector)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Poll all the sockets and sessions associated through an event object.i
|
||||
* @brief Poll all the sockets and sessions associated through an event object.
|
||||
*
|
||||
* If any of the events are set after the poll, the call back functions of the
|
||||
* sessions or sockets will be called.
|
||||
* This function should be called once within the programs main loop.
|
||||
* In case of failure, the errno should be consulted to find more information
|
||||
* about the failure set by underlying poll imlpementation.
|
||||
*
|
||||
* @param event The ssh_event object to poll.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user