This commit is contained in:
Daniel Stenberg 2009-07-02 00:11:33 +02:00
parent 9a6ce012cc
commit 91bca481b5

View File

@ -20,14 +20,11 @@ libssh2_sftp_closedir(LIBSSH2_SFTP_HANDLE *handle);
\fIhandle\fP - SFTP File Handle as returned by \fBlibssh2_sftp_open_ex(3)\fP
or \fBlibssh2_sftp_opendir(3)\fP (which is a macro).
Close an active LIBSSH2_SFTP_HANDLE. Because files and directories
share the same underlying storage mechanism these methods may be used
interchangably. It is recommended that
.BR libssh2_sftp_closedir()
be used for files and that
.BR libssh2_sftp_closedir()
be used for directories so that future changes in the library may cause
minimal disruption. Both are macros for \fBlibssh2_sftp_close_handle\fP.
Close an active LIBSSH2_SFTP_HANDLE. Because files and directories share the
same underlying storage mechanism these methods may be used
interchangably. \fBlibssh2_sftp_closedir(3)\fP and
\fBlibssh2_sftp_closedir(3)\fP are macros for
\fBlibssh2_sftp_close_handle(3)\fP.
.SH RETURN VALUE
Return 0 on success or negative on failure. It returns