comparison util.h @ 794:792be135d3af

Spawn a terminal for the debugger when needed if we are not already attached to one
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Jul 2015 01:11:04 -0700
parents 724bbec47f86
children 69a6ec208111
comparison
equal deleted inserted replaced
793:9aff36a172b2 794:792be135d3af
27 char * readlink_alloc(char * path); 27 char * readlink_alloc(char * path);
28 //Prints an error message to stderr and to a message box if not in headless mode and then exits 28 //Prints an error message to stderr and to a message box if not in headless mode and then exits
29 void fatal_error(char *format, ...); 29 void fatal_error(char *format, ...);
30 //Prints an information message to stdout and to a message box if not in headless mode and not attached to a console 30 //Prints an information message to stdout and to a message box if not in headless mode and not attached to a console
31 void info_message(char *format, ...); 31 void info_message(char *format, ...);
32 //Prints an information message to stderr and to a message box if not in headless mode and not attached to a console
33 void warning(char *format, ...);
32 34
33 #endif //UTIL_H_ 35 #endif //UTIL_H_