1libssh2_session_get_timeout(3) libssh2 libssh2_session_get_timeout(3)
2
3
4
6 libssh2_session_get_timeout - get the timeout for blocking functions
7
9 #include <libssh2.h>
10
11 long
12 libssh2_session_get_timeout(LIBSSH2_SESSION *session);
13
15 Returns the timeout (in milliseconds) for how long a blocking the lib‐
16 ssh2 function calls may wait until they consider the situation an error
17 and return LIBSSH2_ERROR_TIMEOUT.
18
19 By default libssh2 has no timeout (zero) for blocking functions.
20
22 The value of the timeout setting.
23
25 Added in 1.2.9
26
28 libssh2_session_set_timeout(3)
29
30
31
32libssh2 4 May 2011 libssh2_session_get_timeout(3)