Lines Matching refs:bit
1 # 32-bit ABI bugs
3 ## 32-bit `off_t` and `_FILE_OFFSET_BITS=64`
5 On 32-bit Android, `off_t` is a signed 32-bit integer. This limits functions
28 compiled with that was actually using a 32-bit `off_t`. With a new enough NDK,
31 64-bit equivalents, and none of them (except `lseek`/`lseek64`) exist. As you
44 you'll have a 32-bit `off_t` and use the 32-bit functions. Make sure you
60 In the 64-bit ABI, `off_t` is always 64-bit.
63 in the 64-bit ABI even though they're identical to the non-`64` names.
68 On 32-bit Android, `sigset_t` is too small for ARM and x86. This means that
69 there is no support for real-time signals in 32-bit code. Android P (API
74 On 32-bit Android, `struct sigaction` is also too small because it contains
78 In the 64-bit ABI, `sigset_t` is the correct size for every architecture.
81 in the 64-bit ABI even though they're identical to the non-`64` names.
84 ## `time_t` is 32-bit
86 On 32-bit Android, `time_t` is 32-bit. The header `<time64.h>` and type
87 `time64_t` exist as a workaround, but the kernel interfaces exposed on 32-bit
88 Android all use the 32-bit `time_t`.
90 In the 64-bit ABI, `time_t` is 64-bit.
96 `/proc/sys/kernel/pid_max` is usually too small to hit our 16-bit limit,
97 but 32-bit bionic's `pthread_mutex` is a total of 32 bits, leaving just