libssh2_sftp_realpath (3) - Linux Manuals

libssh2_sftp_realpath: convenience macro for libssh2_sftp_symlink_ex(3)

NAME

libssh2_sftp_realpath - convenience macro for libssh2_sftp_symlink_ex(3)

SYNOPSIS

#include <libssh2.h>

#define libssh2_sftp_realpath(sftp, path, target, maxlen) \
  libssh2_sftp_symlink_ex((sftp), (path), strlen(path), (target), (maxlen), \
                          LIBSSH2_SFTP_REALPATH)

DESCRIPTION

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)