libssh2_sftp_tell64(3)

libssh2_sftp_tell643

Get the current read/write position indicator for a file

Usage

#include <libssh2.h>
#include <libssh2_sftp.h>
libssh2_uint64_t
libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle);

Overview

handle - SFTP File Handle as returned by libssh2_sftp_open_ex(3)

Identify the current offset of the file handle's internal pointer.

Return value

Current offset from beginning of file in bytes.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–12
  3. 13–Arch

Availability

Added in libssh2 1.0

From libssh2 1.11.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.