About extensible prinf(3), a slightly long X-mas card

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Dec 17 10:34:49 PST 2005


In message <20051217124717.H97875 at sasami.jurai.net>, "Matthew N. Dodd" writes:

>I'd rather leave the single letter specifiers and modifiers to the 
>standards compliant printf and use something like %{foo} as the specifier 
>for extensions.

Well, I would do 10 things different, but I don't see much point
in adding yet another API just because we like it better that
way, so I stuck with the GLIBC api.

As far as i know, the upper-case letters apart from [DIOUXL] are
available in all standards.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list