about summary refs log tree commit diff stats
path: root/freebsd/util.h
blob: 5bab09f01c721f625e43e19d4dbd002012092f1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/*
 * This file tries to make up for the difference between OpenBSD's
 * <util.h> and FreeBSD's <libutil.h>.
 */

/*
 * fmt_scaled(3) specific flags. (from OpenBSD util.h)
 */
#define FMT_SCALED_STRSIZE	7	/* minus sign, 4 digits, suffix, null byte */

int	fmt_scaled(long long number, char *result);