Skip to content
Jurek Muszyński edited this page Dec 19, 2021 · 10 revisions

void OUT(const char *string[, ...])

Description

Writes string to output buffer. Optionally it takes additional arguments, as per printf function family specification.

Initially output buffers are of NPP_OUT_BUFSIZE size (memory model-dependent) and they may or may not be resized if necessary, depending on OUTxxx compilation switch.

Returns

None

Example

// start HTML
OUT("<!DOCTYPE html>");
// display basket information
OUT("<p>You have %d items in your basket.</p>", items);
// return API call response
OUT(JSON_TO_STRING(&res));
Clone this wiki locally