6 #include <afs/afsutil.h>
8 int main(int argc
, char **argv
) {
12 if (argc
< 2) { fprintf(stderr
, "Usage: nametodir vol\n"); exit(1); }
13 vol
=strtoul(argv
[1], NULL
, 0);
14 (void)int32_to_flipbase64(tmp
, (int64_t) (vol
& 0xff));
15 printf("Component is %s\n", tmp
);
16 (void)int32_to_flipbase64(tmp
, (int64_t) vol
);
17 printf("Component is %s\n", tmp
);