client: use temp buffer for single output flush for json/disk util
[fio.git] / lib / num2str.h
... / ...
CommitLineData
1#ifndef FIO_NUM2STR_H
2#define FIO_NUM2STR_H
3
4#include <inttypes.h>
5
6enum n2s_unit {
7 N2S_NONE = 0,
8 N2S_PERSEC = 1,
9 N2S_BYTE = 2,
10 N2S_BIT = 3,
11 N2S_BYTEPERSEC = 4,
12 N2S_BITPERSEC = 5,
13};
14
15extern char *num2str(uint64_t, int, int, int, enum n2s_unit);
16
17#endif