14 snprintf(p,
sizeof(p),
"%sFormat[%zd].", prefix, idx);
16 snprintf(p,
sizeof(p),
"%sFormat.", prefix);
20 fprintf(f,
"%s%-*s = %s\n", p, w,
"family", to_string(get_family()).c_str());
21 fprintf(f,
"%s%-*s = %s\n", p, w,
"purpose", to_string(get_purpose()).c_str());
24 fprintf(f,
"%s%-*s = %u (%scurrent)\n", p, w,
"version", get_version(), get_is_current_version() ?
"" :
"not-" );
26 fprintf(f,
"%s%-*s = %s\n", p, w,
"ABI", to_string(get_abi()).c_str());
27 fprintf(f,
"%s%-*s = %u\n", p, w,
"ABIvers", get_abi_version());
28 fprintf(f,
"%s%-*s = %zu\n", p, w,
"wordsize", get_word_size());