libssh2_session_set_timeout.3 (648B)
1.TH libssh2_session_set_timeout 3 "4 May 2011" "libssh2" "libssh2" 2.SH NAME 3libssh2_session_set_timeout - set timeout for blocking functions 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8void 9libssh2_session_set_timeout(LIBSSH2_SESSION *session, long timeout); 10.fi 11.SH DESCRIPTION 12Set the \fBtimeout\fP in milliseconds for how long a blocking the libssh2 13function calls may wait until they consider the situation an error and return 14LIBSSH2_ERROR_TIMEOUT. 15 16By default or if you set the timeout to zero, libssh2 has no timeout for 17blocking functions. 18.SH RETURN VALUE 19Nothing 20.SH AVAILABILITY 21Added in 1.2.9 22.SH SEE ALSO 23.BR libssh2_session_get_timeout(3)