On Mon, 2013-09-16 at 15:15 -0400, George Spelvin wrote: > > It'd be consistent with all the other %p<foo> types. > > > > vsnprintf is already weird enough with %p uses, > > there's absolutely no reason to stretch it further > > with yet another odd access/format style. > > Well, all the other %p<foo> types actually *use* the void * argument. > They print the thing pointed to, just in different ways. > > What I'm proposing is fundamentally different, and much more > "printf internals" specific. > > I hate creating an interface that requires a dummy pointer argument. [] > Is "%0-127c" too ugly to live?
Yes. I suppose you use "%[-]*pV" if you really want funky/fugly. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/