Convenience macro for libssh2_sftp_symlink_ex(3)
#include <libssh2.h> #define libssh2_sftp_readlink(sftp, path, target, maxlen) \ libssh2_sftp_symlink_ex((sftp), (path), strlen(path), (target), (maxlen), \ LIBSSH2_SFTP_READLINK)
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_sftp_symlink_ex(3).