geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
753 B

  1. .TH libssh2_sftp_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_sftp_last_error - return the last SFTP-specific error code
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. #include <libssh2_sftp.h>
  7. unsigned long
  8. libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);
  9. .SH DESCRIPTION
  10. \fIsftp\fP - SFTP instance as returned by
  11. .BR libssh2_sftp_init(3)
  12. Returns the last error code produced by the SFTP layer. Note that this only
  13. returns a sensible error code if libssh2 returned LIBSSH2_ERROR_SFTP_PROTOCOL
  14. in a previous call. Using \fBlibssh2_sftp_last_error(3)\fP without a
  15. preceding SFTP protocol error, it will return an unspecified value.
  16. .SH RETURN VALUE
  17. Current error code state of the SFTP instance.
  18. .SH SEE ALSO
  19. .BR libssh2_sftp_init(3)