Convenience macro for libssh2_channel_read_ex(3) calls
#include <libssh2.h>
ssize_t libssh2_channel_read(LIBSSH2_CHANNEL *channel, char *buf, size_t buflen);
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_channel_read_ex(3).