Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2010 20:58:48 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        mdf@FreeBSD.org
Cc:        FreeBSD Arch <freebsd-arch@FreeBSD.org>
Subject:   Re: Extending sbufs with a drain, take 2 
Message-ID:  <1725.1284065928@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 09 Sep 2010 10:45:59 MST." <AANLkTik7%2BKTOCYJiZ_n3SYTbwszNPNgh0SL49HhJDoii@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <AANLkTik7+KTOCYJiZ_n3SYTbwszNPNgh0SL49HhJDoii@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1725.1284065928>