Complete dfunc to infer printf formats from type names