#include "custom_debug.h"
Functions | |
int | vsnprintf (char *str, size_t size, const char *format, va_list ap) |
int | custom_debug (uint64_t mask, const char *format,...) |
Variables | |
int | global_debug_mask |
int custom_debug | ( | uint64_t | mask, | |
const char * | format, | |||
... | ||||
) |
A custom function for debugging based on a debug mask compared against a global debug mask.
mask | A mask to compare against the global_debug_mask. | |
format | Format string for output. | |
... | Additional arguments for variables to be displayed. |
int vsnprintf | ( | char * | str, | |
size_t | size, | |||
const char * | format, | |||
va_list | ap | |||
) |
This prototype is defined here to get rid of the ANSI warning