1libssh2_sftp_seek(3)            libssh2 manual            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 libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset);
13

DESCRIPTION

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

SEE ALSO

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