ec_debug_printf
Last updated March 2020
Name
ec_debug_printf — Write debug information given a debug level
Synopsis
#include "ec_growbuf.h"
| int **ec_debug_printf** (
| level, | |
| | mask, | |
| | s, | |
| | ...)
; | |
int <var class="pdparam">level</var>
;
int <var class="pdparam">mask</var>
;
const char * <var class="pdparam">s</var>
;
<var class="pdparam">...</var>
;
Description
Write debug information given a debug level.
- level
-
The debug level.
- mask
-
A mask.
- s
-
The debug string to write. This may contain format specifiers.
- ...
-
The variable argument list, whose number should match the number of specifiers in
s
.
This function returns 1
.
It is legal to call this function in any thread.
Was this page helpful?