You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
265 B
12 lines
265 B
#ifndef _UTILS_H
|
|
#define _UTILS_H
|
|
|
|
#define LOGD(...) ((void)fprintf(stdout, __VA_ARGS__))
|
|
#define LOGE(...) ((void)fprintf(stderr, __VA_ARGS__))
|
|
|
|
void FATAL(const char *msg);
|
|
void usage(void);
|
|
void demonize(const char* path);
|
|
char *itoa(int i);
|
|
|
|
#endif // _UTILS_H
|