blob: d3b416831b14a943bd8387eb3ce63616a36ba14f (
plain) (
tree)
|
|
#ifndef UTIL_H
#include <stdio.h>
#include <stdlib.h>
#define err_die(r, ...) {\
fprintf(stderr, "%s:%d: ", __FILE__, __LINE__); \
fprintf(stderr, __VA_ARGS__); \
fputc('\n', stderr); \
return r; \
}
int r_mkdir(const char *path, mode_t mode);
void util_strtrim(char *s);
#define UTIL_H
#endif
|