1 .\" $Id: libssh2_sftp_shutdown.3,v 1.1 2007/06/14 16:33:38 jehousley Exp $
3 .TH libssh2_sftp_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
5 libssh2_sftp_shutdown - shut down an SFTP session
8 #include <libssh2_sftp.h>
11 libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp);
14 \fIsftp\fP - SFTP instance as returned by
15 .BR libssh2_sftp_init(3)
17 Destroys a previously initialized SFTP session and frees all resources
21 Return 0 on success or negative on failure. It returns
22 LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
23 LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
26 .BR libssh2_sftp_init(3)