2011-01-11 13:10:11

by Joerg

[permalink] [raw]
Subject: Re: [PATCH v2 2/4] iw: Add channel busy time to survey

Johannes Berg <johannes@...> writes:
> > see http://www.dinkumware.com/manuals/?manual=compleat&page=inttypes.html#PRIu64
>
> Oi, that's complicated. Patch welcome I guess.

Not really:

#include <inttypes.h>
#include <stdio.h>

int
main()
{
printf ("unsigned long long: %llu\n", 1llu);
printf ("uint64_t: %"PRIu64"\n", (uint64_t)1);
return 0;
}