Xinqi Bao's Git
48794145a728f17207de8e8e4e9ae117a59512a3
1 /* See LICENSE file for copyright and license details. */
4 #define LEN(x) (sizeof (x) / sizeof *(x))
8 void warn(const char *, ...);
9 void die(const char *, ...);
11 int esnprintf(char *str
, size_t size
, const char *fmt
, ...);
12 const char *bprintf(const char *fmt
, ...);
13 const char *fmt_human_2(size_t num
);
14 const char *fmt_human_10(size_t num
);
15 int pscanf(const char *path
, const char *fmt
, ...);