diff options
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,16 @@ #include <features.h> -void debug_(int level, char *file, int line, const char *func, char *fmt, ...); +void debug_(int level, const char *file, int line, const char *func, const char *fmt, ...); + +int xwrite(const char *, size_t); +int xwrites(const char *); +int xwritehexi(int); +int xwritehexl(long); +int xwritec(char); +int xwritecr(void); +int xwritedump(void *, long, int); +int xinfdump(long, void *, int); + # define debug(level, expr...) debug_(level, __FILE__, __LINE__, DEBUG_FUNCTION, expr) |