zephyr/lib/libc/minimal/include
Nicolas Pitre 03170c040c string.c: make it 64-bit compatible
Casting a pointer to an int produces warnings with 64-bit targets.
Furthermore, an int is not always the optimal memory element that
can be copied in that case.

Let's use uintptr_t to cast pointers to integers for alignment
determination purposes, and mem_word_t to denote the optimal memory
"word" that can be copied on the platform.

The mem_word_t definition is equivalent to uintptr_t by default.
However, some 32-bit targets such as ARM platforms with the LDRD/STRD
instructions could benefit from word_t being an uint64_t.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-06-07 13:19:51 -07:00
..
bits libc: minimal: rename private macro 2017-02-04 19:22:07 +00:00
sys string.c: make it 64-bit compatible 2019-06-07 13:19:51 -07:00
assert.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ctype.h libc: ctype: Fix operations between signed and unsigned types 2019-03-01 09:22:24 +01:00
errno.h Revert "libc: minimal: Add error codes for key management" 2018-10-29 10:12:23 +00:00
fcntl.h lib/fdtable: Add ioctl() and fcntl() implementations 2018-12-14 13:21:31 +02:00
inttypes.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
limits.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdbool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdint.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdio.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdlib.h libc: minimal: Implement exit()/_exit() functions. 2019-05-23 09:27:59 -04:00
string.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
strings.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
time.h libc/include: Adding time.h 2017-02-14 08:30:35 +02:00