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> #include <libssh2_sftp.h>
10
11       void libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset);
12
13

DESCRIPTION

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

SEE ALSO

27       libssh2_sftp_open(3)
28
29
30
31libssh2 0.15                      1 Jun 2007              libssh2_sftp_seek(3)
Impressum