libnl/lib/route/cls
Коренберг Марк (дома) ab15d06d13 "%llu" replaced with "%" PRIu64
On some architectures, uint64_t is defined as:

typedef unsigned long long int __u64;

on another architectures as:

typedef unsigned long int __u64;

So, according to man 3 printf,
uint64_t should be printed as "%llu" on some architectures, and as "%lu" on another. The same for scanf.

To eliminate that challenge, there is inttypes.h, in which appropriate constants
are defined for current architecture.

32-bit types (and even 16 and 8 bit types) should be printed using such constants if
printed variable defined as uint_XXXt or intXXXt type. But in reality 32-bit and less
types does not gain run-time error (except in scanf), because they pushed to stack as
32-bit values at least. So, I decide not to fix that.
2012-08-30 03:19:04 +06:00
..
ematch constify struct trans_tbl 2010-11-17 16:09:08 +01:00
.gitignore Tons of ematch work 2010-10-29 00:20:42 +02:00
basic.c Unified TC API 2011-03-21 15:51:52 +01:00
cgroup.c Unified TC API 2011-03-21 15:51:52 +01:00
ematch.c Unified TC API 2011-03-21 15:51:52 +01:00
ematch_grammar.l Support for meta match 2010-10-31 23:13:01 +01:00
ematch_syntax.y Support for meta match 2010-10-31 23:13:01 +01:00
fw.c add fwmark mask support 2012-05-29 11:40:13 +02:00
police.c Unified TC API 2011-03-21 15:51:52 +01:00
u32.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00