Extending sbufs with a drain, take 2
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu Sep 9 21:41:25 UTC 2010
In message <AANLkTik7+KTOCYJiZ_n3SYTbwszNPNgh0SL49HhJDoii at mail.gmail.com>, mdf@
FreeBSD.org writes:
>One question about the printf expanded args in xprintf.c:
>
>Does the extension framework allow for multiple character conversion
>specifiers?
I belive it indexes with a single char into an array right now, but
that is just a matter of string parsing, {...} is not hard to do.
Bear in mind that using extensions force you to disable the GCC
format checks, a heavy cost to bear.
Also bear in mind that any work on this should keep an eye on, and if
at all possible collaborate with GLIBC for maximum compatibility.
--
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-arch
mailing list