diff options
Diffstat (limited to 'human_readable.h')
-rw-r--r-- | human_readable.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/human_readable.h b/human_readable.h new file mode 100644 index 0000000..4055bfe --- /dev/null +++ b/human_readable.h @@ -0,0 +1,14 @@ +#ifndef HUMAN_READABLE_H +#define HUMAN_READABLE_H + +#define NO_PRINT 1 + +#define HN_DECIMAL 0x01 +#define HN_NOSPACE 0x02 +#define HN_B 0x04 +#define HN_DIVISOR_1000 0x08 + +#define HN_GETSCALE 0x10 +#define HN_AUTOSCALE 0x20 + +#endif |