From 1032f74ad2ea3f27e96a9de03f4f9045d9ed082f Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Tue, 21 Jul 2015 04:57:39 +0300 Subject: [PATCH] minor addition; --- man/sxmsg_rreply.3SNTL | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/man/sxmsg_rreply.3SNTL b/man/sxmsg_rreply.3SNTL index deb84db..ad32902 100644 --- a/man/sxmsg_rreply.3SNTL +++ b/man/sxmsg_rreply.3SNTL @@ -12,5 +12,24 @@ sxmsg_rreply \- Function used to send a rapid reply without confirmation Will reply rapidly to the message using already allocated buffer, which might be retrieved via sxmsg_rapidbuf(). This function will write desired message as soon as possible. It will not wait any write or delivery confirmation. - - +.br +.SH RETURN VALUE +.B SNE_FAILED +returns if message has invalid index, channel or message pointer is NULL. +.br +.B SNE_ESSL +returns if write was failed i.e. connection link was broken, or SSL error occurs. +.br +.B SNE_SUCCESS +returns on success. +.br +.SH BUGS +Not known yet. +.SH EXAMPLE +.B Reply rapidly from the RPC function call. +.RS +.nf +.if t .ft CW +char *buf = sxmsg_rapidbuf(msg); +int ln = snprintf(buf, MAX_BBUFLEN, "(is-done)"); +return sxmsg_rreply(msg, str, ln);