-
Notifications
You must be signed in to change notification settings - Fork 2
OUT
Jurek Muszyński edited this page Dec 19, 2021
·
10 revisions
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.
None
// 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));