#include <stdarg.h>
Defines | |
#define | MEM(ptr) __pointer_test(ptr, "?" ,__FILE__,__LINE__) |
Functions | |
void | lprintf (int level, const char *args, ...) |
void | lprintff (int level, const char *args, ...) |
void | dprintf (const char *sym, const char *args, ...) |
void | xpanic (const char *args, ...) |
void | sxpanic (const char *args, ...) |
void | interest (const char *args, ...) |
void | showPercent (int level, int now, int total, int &last) |
void | doneShowPercent (int level) |
void | __pointer_test (void *ptr, const char *ptrname, const char *sfile, int sline) |
|
assert macro
if ptr is |
|
Use MEM() instead. For internal use only. |
|
|
|
prints out debugging info. if any character in sym matches any in debugsyms (resp. used syms are:
|
|
info about interesting things Prints out the given args with preceeding "Interesting:", but nothing more. |
|
Message printing
args is printed on screen if level is lower or equal to no LF is added |
|
Message printing
args is printed on screen if level is lower or equal to no LF is added. output buffer will be flushed |
|
|
|
small panic exit Prints out the given args with preceeding "PANIC:", but nothing more. function never returns. |
|
panic exit Prints out the given args with preceeding "PANIC:" and a brief description about what to do. Then exits. function never returns. |