sftp_tell method

int sftp_tell(
  1. sftp_file file
)

@brief Report current byte position in file.

@param file Open sftp file handle.

@return The offset of the current byte relative to the beginning of the file associated with the file descriptor. < 0 on error.

Implementation

int sftp_tell(
  sftp_file file,
) {
  return _sftp_tell(
    file,
  );
}