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

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

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