get_type_flags_name
fprintf(lock_output, " %10s %s\n", get_type_flags_name(st->flags), st->name);
fprintf(lock_output, "%s%s %s", get_type_flags_name(st->flags), sep, st->name);