2017-09-17 15:45:03 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
2017-09-17 15:21:54 +00:00
|
|
|
extern char buf[1024];
|
2017-09-17 14:18:17 +00:00
|
|
|
|
|
|
|
#define LEN(x) (sizeof (x) / sizeof *(x))
|
|
|
|
|
2018-05-18 08:59:05 +00:00
|
|
|
extern char *argv0;
|
|
|
|
|
|
|
|
void warn(const char *, ...);
|
|
|
|
void die(const char *, ...);
|
|
|
|
|
2017-09-17 14:18:17 +00:00
|
|
|
const char *bprintf(const char *fmt, ...);
|
|
|
|
int pscanf(const char *path, const char *fmt, ...);
|