summaryrefslogtreecommitdiff
path: root/util.h
blob: e90c29d2b86a7d0cd30903dad4a2423891202a57 (plain)
1
2
3
4
5
6
7
/* See LICENSE file for copyright and license details. */
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, ...);