1libssh2_sftp_tell(3)            libssh2 manual            libssh2_sftp_tell(3)
2
3
4

NAME

6       libssh2_sftp_tell - get the current read/write position indicator for a
7       file
8

SYNOPSIS

10       #include <libssh2.h> #include <libssh2_sftp.h>
11
12       size_t libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle);
13
14

DESCRIPTION

16       handle - SFTP File Handle as returned by libssh2_sftp_open(3)
17
18       Identify the current offset of the file handle's internal pointer. Note
19       that the SSH2 protocol does not have a notion of file pointers and that
20       libssh2 implements this using a localized file pointer which is updated
21       with each read/write call.
22
23

RETURN VALUE

25       Current offset from beginning of file in bytes.
26
27

SEE ALSO

29       libssh2_sftp_open(3)
30
31
32
33libssh2 0.15                      1 Jun 2007              libssh2_sftp_tell(3)
Impressum