Skip to main content

ec_httpsrv_response_vprintf

Last updated March 2020

Name

ec_httpsrv_response_vprintf — Format and append a string to the session response output

Synopsis

#include "modules/listeners/httpsrv.h"

| int **ec_httpsrv_response_vprintf** ( | sess, |   | |   | fmt, |   | |   | ap); |   |

ec_httpsrv_session * <var class="pdparam">sess</var>; const char * <var class="pdparam">fmt</var>; va_list <var class="pdparam">ap</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Format and append a string to the session response output.

Parameters

sess

the session to modify

fmt

the printf(3) style format string

ap

the argument list

Return Values

0 if successful, else returns an errno indicating what went wrong. In particular, ENOMEM indicates that insuficient memory was available.

Was this page helpful?