monster diff to try to get rid of err and errx. people run into these and
[xxxterm.git] / freebsd / util.h
blob5bab09f01c721f625e43e19d4dbd002012092f1d
1 /*
2 * This file tries to make up for the difference between OpenBSD's
3 * <util.h> and FreeBSD's <libutil.h>.
4 */
6 /*
7 * fmt_scaled(3) specific flags. (from OpenBSD util.h)
8 */
9 #define FMT_SCALED_STRSIZE 7 /* minus sign, 4 digits, suffix, null byte */
11 int fmt_scaled(long long number, char *result);