1libssh2_sftp_seek(3)                libssh2               libssh2_sftp_seek(3)
2
3
4

NAME

6       libssh2_sftp_seek - set the read/write position indicator within a file
7

SYNOPSIS

9       #include <libssh2.h>
10       #include <libssh2_sftp.h>
11
12       void
13       libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle,
14                         size_t offset);
15

DESCRIPTION

17       Deprecated function. Use libssh2_sftp_seek64(3) instead!
18
19       handle - SFTP File Handle as returned by libssh2_sftp_open_ex(3)
20
21       offset - Number of bytes from the beginning of file to seek to.
22
23       Move the file handle's internal pointer to an arbitrary location.  Note
24       that libssh2 implements file pointers as a localized  concept  to  make
25       file  access  appear more POSIX like. No packets are exchanged with the
26       server during a seek operation. The localized file pointer is used as a
27       convenience offset during read/write operations.
28

SEE ALSO

30       libssh2_sftp_open_ex(3), libssh2_sftp_seek64(3)
31
32
33
34libssh2 1.0                       22 Dec 2008             libssh2_sftp_seek(3)
Impressum