summaryrefslogtreecommitdiff
path: root/util.h
blob: 8321f9db2eddbe67918761a3151d39b4c0870041 (plain)
1
2
3
4
5
6
extern char buf[1024];

#define LEN(x) (sizeof (x) / sizeof *(x))

const char *bprintf(const char *fmt, ...);
int pscanf(const char *path, const char *fmt, ...);