libssh2_sftp_realpath(3)

libssh2_sftp_realpath3

Convenience macro for libssh2_sftp_symlink_ex(3)

Usage

#include <libssh2.h>
#include <libssh2_sftp.h>
#define libssh2_sftp_realpath(sftp, path, target, maxlen) \
    libssh2_sftp_symlink_ex((sftp), (path), strlen(path), \
                            (target), (maxlen), \
                            LIBSSH2_SFTP_REALPATH)

Overview

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_sftp_symlink_ex(3).

Return value

See libssh2_sftp_symlink_ex(3)

Errors

See libssh2_sftp_symlink_ex(3)

Releases

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

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

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