1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

Document prototypes for macro defined functions

This commit is contained in:
Henrik Nordstrom
2011-08-06 13:44:00 +02:00
committed by Daniel Stenberg
parent 2fe1770d9f
commit 95d69d3a81
43 changed files with 85 additions and 47 deletions

View File

@ -7,8 +7,8 @@ libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
.nf
#include <libssh2.h>
#define libssh2_channel_write(channel, buf, buflen) \\
libssh2_channel_write_ex((channel), 0, (buf), (buflen))
ssize_t libssh2_channel_write(LIBSSH2_CHANNEL *channel, const char *buf, size_t buflen);
.SH DESCRIPTION
This is a macro defined in a public libssh2 header file that is using the
underlying function \fIlibssh2_channel_write_ex(3)\fP.