/* ... */ typedef signed long long int64_t; typedef unsigned long long uint64_t; /* ... */ typedef int64_t intmax_t; typedef uint64_t uintmax_t; /* ... */ extern int printf(const char *__restrict, ...); /* ... */ enum { SYSINT_BUFSIZE = (((((((sizeof (uintmax_t) * (8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)) < ((((((sizeof (intmax_t) * (8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)) ? ((((((sizeof (intmax_t) * (8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)) : ((((((sizeof (uintmax_t) * (8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1))) }; char *sysinttostr (uintmax_t, intmax_t, uintmax_t, char buf[SYSINT_BUFSIZE]); /* ... */ struct field_range { char const *fieldname; intmax_t min_val; uintmax_t max_val; }; static struct field_range const field_ranges[] = { { "nfs", 0, 1 }, /* ... */ { 0, 0, 0 } }; /* ... */ void show_snapshot_field_ranges (void) { struct field_range const *p; char minbuf[((SYSINT_BUFSIZE) < ((((((sizeof (intmax_t) * (8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)) ? ((((((sizeof (intmax_t) * (8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)) : (SYSINT_BUFSIZE))]; char maxbuf[((SYSINT_BUFSIZE) < ((((((sizeof (uintmax_t) * (8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)) ? ((((((sizeof (uintmax_t) * (8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)) : (SYSINT_BUFSIZE))]; printf("This tar's snapshot file field ranges are\n"); printf (" (%-15s => [ %s, %s ]):\n\n", "field name", "min", "max"); for (p=field_ranges; p->fieldname != 0; p++) { printf (" %-15s => [ %s, %s ],\n", p->fieldname, sysinttostr (p->min_val, p->min_val, p->max_val, minbuf), sysinttostr (p->max_val, p->min_val, p->max_val, maxbuf)); } printf("\n"); } /* ... */