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.
 
 
 
 

26 lines
922 B

  1. .TH libssh2_sftp_seek 3 "22 Dec 2008" "libssh2 1.0" "libssh2 manual"
  2. .SH NAME
  3. libssh2_sftp_seek - set the read/write position indicator within a file
  4. .SH SYNOPSIS
  5. .nf
  6. #include <libssh2.h>
  7. #include <libssh2_sftp.h>
  8. void libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset);
  9. .SH DESCRIPTION
  10. Deprecated function. Use \fIlibssh2_sftp_seek64(3)\fP instead!
  11. \fIhandle\fP - SFTP File Handle as returned by
  12. .BR libssh2_sftp_open_ex(3)
  13. \fIoffset\fP - Number of bytes from the beginning of file to seek to.
  14. Move the file handle's internal pointer to an arbitrary location.
  15. Note that libssh2 implements file pointers as a localized concept to make
  16. file access appear more POSIX like. No packets are exchanged with the server
  17. during a seek operation. The localized file pointer is simply used as a
  18. convenience offset during read/write operations.
  19. .SH SEE ALSO
  20. .BR libssh2_sftp_open_ex(3),
  21. .BR libssh2_sftp_seek64(3)