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