apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler MacDonald <ty...@yi.org>
Subject Re: "z" modifier for APR_SIZE_T_FMT?
Date Wed, 12 Jul 2006 16:34:33 GMT
Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> >#define APR_SIZE_T_FMT "d"
> >
> >Is there any reason why the "z" modifier is not included here? It seems
> >like that is what printf(3) says we want to use for formatting size_t
> >types.
> Off the top of my head I'm not sure, perhaps configure just isn't
> smart enough to use that if it's available?  I'm also not sure if the
> apr *printf code knows about that format code...

	Well, It is C99 standard... I've tried it inside apr_psprintf()'s
and it seems to work. :)

		- Tyler

View raw message