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