summaryrefslogtreecommitdiff
path: root/util.h
blob: 53e4104f2bc496f738c34cfc224456481174be91 (plain)
1
2
3
4
5
6
7
8
9
/* See LICENSE file for copyright and license details. */
extern char buf[1024];

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

#define UNUSED(x) (void)x

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