1libssh2_sftp_last_error(3)          libssh2         libssh2_sftp_last_error(3)
2
3
4

NAME

6       libssh2_sftp_last_error - return the last SFTP-specific error code
7

SYNOPSIS

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

DESCRIPTION

16       sftp - SFTP instance as returned by libssh2_sftp_init(3)
17
18       Returns  the last error code produced by the SFTP layer. Note that this
19       only returns a sensible error  code  if  libssh2  returned  LIBSSH2_ER‐
20       ROR_SFTP_PROTOCOL  in a previous call. Using libssh2_sftp_last_error(3)
21       without a preceding SFTP protocol error, it will return an  unspecified
22       value.
23

RETURN VALUE

25       Current error code state of the SFTP instance.
26

SEE ALSO

28       libssh2_sftp_init(3)
29
30
31
32libssh2 0.15                      1 Jun 2007        libssh2_sftp_last_error(3)
Impressum