No description
Find a file
Коренберг Марк (дома) 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
doc doc: documentation restructuring 2012-05-10 12:03:59 +02:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include Run-time version information is now available 2012-08-30 03:19:04 +06:00
lib "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python Fixed memory leak in Cache destructor 2012-06-08 22:26:35 +06:00
src "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
tests genl: modify genl_ctrl_resolve and friends to allow for module auto-loading 2012-06-03 13:52:16 +02:00
.gitignore 3.1 release 2011-08-11 14:30:24 +02:00
autogen.sh Move to automake-based build 2009-06-23 01:24:51 +02:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
configure.in libnl 3.2.11 2012-06-13 13:49:52 +02:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
Makefile.am tests: Convert tests/Makefile to use automake 2012-04-21 10:34:43 +02:00