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

  1. #ifndef _UTILS_H
  2. #define _UTILS_H
  3. #define LOGD(...) ((void)fprintf(stdout, __VA_ARGS__))
  4. #define LOGE(...) ((void)fprintf(stderr, __VA_ARGS__))
  5. void FATAL(const char *msg);
  6. void usage(void);
  7. void demonize(const char* path);
  8. char *itoa(int i);
  9. #endif // _UTILS_H