mco_lews_append_uint64
Prototype
MCO_RET mco_lews_append_uint64(lews_connection_context_h client_ctx_handle, mco_uint8 val);
Arguments
client_ctx_handle
The connection context handle.
val
An unsigned number to be appended.
Description
mco_lews_append_uint64() appends the string representation of an unsigned integer number to the outgoing buffer. If the buffer space is insufficient, it is freed by sending out the accumulated content.
timer_unit t = mco_system_get_current_time();
...
if ((mco_lews_append_uint64(client_ctx_handle, t)) != MCO_S_OK)
return MCO_E_NW_SENDERR;
Return Codes
MCO_S_OK
No errors.
MCO_E_NW_SENDERR
Error occurred while sending the response.
Files
Header file:
mcoewslite.h
Source file:
mcoewslite.c
Library:
mcoewslite.a