1libssh2_sftp_shutdown(3)            libssh2           libssh2_sftp_shutdown(3)
2
3
4

NAME

6       libssh2_sftp_shutdown - shut down an SFTP session
7

SYNOPSIS

9       #include <libssh2.h>
10       #include <libssh2_sftp.h>
11
12       int
13       libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp);
14

DESCRIPTION

16       sftp - SFTP instance as returned by libssh2_sftp_init(3)
17
18       Destroys  a previously initialized SFTP session and frees all resources
19       associated with it.
20

RETURN VALUE

22       Return 0 on success or negative on  failure.   It  returns  LIBSSH2_ER‐
23       ROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is
24       a negative number, it is not really a failure per se.
25

SEE ALSO

27       libssh2_sftp_init(3)
28
29
30
31libssh2 0.15                      1 Jun 2007          libssh2_sftp_shutdown(3)
Impressum