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_ex(3).
17
18       Returns the current offset of the file handle's internal pointer.  Note
19       that  this  is  now  deprecated.  Use  the newer libssh2_sftp_tell64(3)
20       instead!
21

RETURN VALUE

23       Current offset from beginning of file in bytes.
24

SEE ALSO

26       libssh2_sftp_open_ex(3), libssh2_sftp_tell64(3)
27
28
29
30libssh2 0.15                      1 Jun 2007              libssh2_sftp_tell(3)
Impressum