Quash Shell
0.1
A simple yet powerfull shell program
|
This file holds useful macros for debugging purposes. More...
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | PRINT_DEBUG(fmt, ...) |
Print statement that only triggers if DEBUG is defined. More... | |
#define | IFDEBUG(x) |
Insert code that is only compiled if DEBUG is defined. More... | |
This file holds useful macros for debugging purposes.
#define IFDEBUG | ( | x | ) |
Insert code that is only compiled if DEBUG is defined.
x | Code to insert |
#define PRINT_DEBUG | ( | fmt, | |
... | |||
) |
Print statement that only triggers if DEBUG is defined.
fmt | Format for the fprintf statement. This format is appended to the information refering to the location in the code the macro is expanded at. |
... | Arguments to be substituted into the format string |