libssh2_sftp_shutdown.3 (663B)
1.TH libssh2_sftp_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2" 2.SH NAME 3libssh2_sftp_shutdown - shut down an SFTP session 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7#include <libssh2_sftp.h> 8 9int 10libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp); 11.fi 12.SH DESCRIPTION 13\fIsftp\fP - SFTP instance as returned by 14.BR libssh2_sftp_init(3) 15 16Destroys a previously initialized SFTP session and frees all resources 17associated with it. 18.SH RETURN VALUE 19Return 0 on success or negative on failure. It returns 20LIBSSH2_ERROR_EAGAIN when it would otherwise block. While 21LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se. 22.SH SEE ALSO 23.BR libssh2_sftp_init(3)