Convenience macro for libssh2_sftp_readdir_ex(3) calls
#include <libssh2.h>
int libssh2_sftp_readdir(LIBSSH2_SFTP_HANDLE *handle, char *buffer, size_t buffer_maxlen, LIBSSH2_SFTP_ATTRIBUTES *attrs);
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_sftp_readdir_ex(3).