]>
Dogcows Code - chaz/tar/blob - lib/human.h
12 /* A conservative bound on the maximum length of a human-readable string.
13 The output can be the product of the largest uintmax_t and the largest int,
14 so add their sizes before converting to a bound on digits. */
15 # define LONGEST_HUMAN_READABLE ((sizeof (uintmax_t) + sizeof (int)) \
19 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
20 # define PARAMS(Args) Args
22 # define PARAMS(Args) ()
26 enum human_inexact_style
29 human_round_to_even
= 0,
33 char *human_readable
PARAMS ((uintmax_t, char *, int, int));
34 char *human_readable_inexact
PARAMS ((uintmax_t, char *, int, int,
35 enum human_inexact_style
));
37 void human_block_size
PARAMS ((char const *, int, int *));
This page took 0.033085 seconds and 4 git commands to generate.