Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: return value of __BIT(x)
(2012/10/16 23:00), David Young wrote:
> On Tue, Oct 16, 2012 at 07:01:24PM +0900, Masanobu SAITOH wrote:
>> Hi, all.
>>
>> "man __BIT" says:
>>
>>
>>> SYNOPSIS
>>> #include <sys/param.h>
>>> #include <sys/cdefs.h>
>>>
>>> uint32_t
>>> __BIT(n);
>>>
>>> uint32_t
>>> __BITS(m, n);
>>
>> uintmax_t is uint64_t, so these macros return uint64_t.
>>
>> What should we do?
>
> We should fix the manual page.
Committed.
> BTW, PRIuBIT, PRIxBIT, PRIuBITS, and PRIxBITS are defined for use in
> printf() format strings.
I understood. Thanks!
> Dave
>
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index