version 1.13, 2003/06/10 22:20:46 |
version 1.14, 2003/07/02 21:04:09 |
|
|
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
|
typedef enum { NONE = 0, KILO, MEGA, GIGA, TERA, PETA /* , EXA */ } unit_t; |
|
|
int linkchk(FTSENT *); |
int linkchk(FTSENT *); |
void prtout(quad_t, char *, int); |
void prtout(quad_t, char *, int); |
void usage(void); |
void usage(void); |
|
unit_t unit_adjust(double *); |
|
|
int |
int |
main(int argc, char *argv[]) |
main(int argc, char *argv[]) |
|
|
* "human-readable" output: use 3 digits max.--put unit suffixes at |
* "human-readable" output: use 3 digits max.--put unit suffixes at |
* the end. Makes output compact and easy-to-read. |
* the end. Makes output compact and easy-to-read. |
*/ |
*/ |
|
|
typedef enum { NONE = 0, KILO, MEGA, GIGA, TERA, PETA /* , EXA */ } unit_t; |
|
|
|
unit_t |
unit_t |
unit_adjust(double *val) |
unit_adjust(double *val) |