Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

human.h File Reference

#include <inttypes.h>

Include dependency graph for human.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define HUMAN_H_   1
#define LONGEST_HUMAN_READABLE
#define PARAMS(Args)   ()

Enumerations

enum  human_inexact_style { human_floor = -1, human_round_to_even = 0, human_ceiling = 1 }

Functions

char *human_readable PARAMS ((uintmax_t, char *, int, int))
char *human_readable_inexact PARAMS ((uintmax_t, char *, int, int, enum human_inexact_style))
void human_block_size PARAMS ((char const *, int, int *))


Define Documentation

#define HUMAN_H_   1
 

#define LONGEST_HUMAN_READABLE
 

Value:

((sizeof (uintmax_t) + sizeof (int)) \
             * CHAR_BIT / 3)

#define PARAMS Args       ()
 


Enumeration Type Documentation

enum human_inexact_style
 

Enumeration values:
human_floor 
human_round_to_even 
human_ceiling 

00027 {
00028   human_floor = -1,
00029   human_round_to_even = 0,
00030   human_ceiling = 1
00031 };


Function Documentation

char* human_readable PARAMS (uintmax_t, char *, int, int)   
 

char* human_readable_inexact PARAMS (uintmax_t, char *, int, int, enum human_inexact_style  
 

void human_block_size PARAMS (char const *, int, int *)   
 


Generated on Mon Apr 7 19:42:32 2003 for DuTree by doxygen1.2.18