httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <>
Subject Re: Can we get rid of %qd?
Date Fri, 21 May 1999 13:19:58 GMT

In article <> you wrote:

> What does the 'q' qualifier mean/do ?

>From sprintf(3):

     o   The optional character q, specifying that a following d, i, o, u, x,
         or X conversion corresponds to a quad int or unsigned quad int argu-
         ment, or that a following n conversion corresponds to a pointer to a
         quad int argument.

Hmmm... but what to the hell is an "unsigned quad int"? On FreeBSD it's
indirectly typedef'ed to a "unsigned long long". Hmmm....

Additionally the code is in ``#if defined(BSD) && BSD > 199305'', so it
affects only BSD platforms. Hmmm... nevertheless its ugly stuff. Any opinions?

                                       Ralf S. Engelschall

View raw message