fmt1
static int fmt1(int t, char s, char **buf, size_t *buflen);
T(fmt1(weeks, 'W', &dst, &dstlen));
T(fmt1(days, 'D', &dst, &dstlen));
T(fmt1(hours, 'H', &dst, &dstlen));
T(fmt1(mins, 'M', &dst, &dstlen));
T(fmt1(secs, 'S', &dst, &dstlen));
const char *fmt1, *fmt2, *fmt, *main_local, *list_containers;
if ((fmt1 = _getenv_ld("LD_TRACE_LOADED_OBJECTS_FMT1")) == NULL)
fmt1 = "\t%o => %p (%x)\n";
fmt = is_lib ? fmt1 : fmt2;
else if (fmt1 == NULL && fmt2 == NULL)
char *fmt1 = NULL, *fmt2 = NULL;
if (fmt1) {
fmt1 = optarg;
if (fmt1) {
if (setenv("LD_TRACE_LOADED_OBJECTS_FMT1", fmt1, 1) == -1)
err(1, "setenv: cannot set LD_TRACE_LOADED_OBJECTS_FMT1=%s", fmt1);
printf(fmt1, 1 + i, part[i].dp_flag,
static const char fmt1[] = "%d 0x%02x %4u:%3u:%2u 0x%02x"