These types are used to get consistent stack usage for printf()
and friends.
More...
Typedefs | |
typedef unsigned long long | t_ull |
typedef long long | t_ll |
typedef unsigned long | t_ul |
These types are used to get consistent stack usage for printf()
and friends.
The types for eg. ino_t vary in different architectures -- they are 32 or 64bit. If we just pushed the arch-dependent size on the stack, but used always the same format string, printf()
would (on some architectures) take the wrong argument off the stack, which results in corrupted output of later data.