Convenience macro for libssh2_sftp_stat_ex(3) calls
#include <libssh2.h>
int libssh2_sftp_lstat(LIBSSH2_SFTP *sftp, const char *path, LIBSSH2_SFTP_ATTRIBUTES *attrs);
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_sftp_stat_ex(3).