1libssh2_sftp_shutdown(3) libssh2 manual libssh2_sftp_shutdown(3)
2
3
4
6 libssh2_sftp_shutdown - shut down an SFTP session
7
9 #include <libssh2.h> #include <libssh2_sftp.h>
10
11 int libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp);
12
13
15 sftp - SFTP instance as returned by libssh2_sftp_init(3)
16
17 Destroys a previously initialized SFTP session and frees all resources
18 associated with it.
19
20
22 Return 0 on success or negative on failure. It returns LIB‐
23 SSH2_ERROR_EAGAIN when it would otherwise block. While LIB‐
24 SSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per
25 se.
26
27
29 libssh2_sftp_init(3)
30
31
32
33libssh2 0.15 1 Jun 2007 libssh2_sftp_shutdown(3)