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 \fIhandle\fP - SFTP File Handle as returned by \fBlibssh2_sftp_open_ex(3)\fP
or \fBlibssh2_sftp_opendir(3)\fP (which is a macro). or \fBlibssh2_sftp_opendir(3)\fP (which is a macro).
Close an active LIBSSH2_SFTP_HANDLE. Because files and directories Close an active LIBSSH2_SFTP_HANDLE. Because files and directories share the
share the same underlying storage mechanism these methods may be used same underlying storage mechanism these methods may be used
interchangably. It is recommended that interchangably. \fBlibssh2_sftp_closedir(3)\fP and
.BR libssh2_sftp_closedir() \fBlibssh2_sftp_closedir(3)\fP are macros for
be used for files and that \fBlibssh2_sftp_close_handle(3)\fP.
.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.
.SH RETURN VALUE .SH RETURN VALUE
Return 0 on success or negative on failure. It returns Return 0 on success or negative on failure. It returns