zephyr/lib/libc/minimal/include
Keith Packard 27b7ace9fd libc/minimal: Create "real" functions for putc and putchar
When gcc is building without -fno-builtin, it will optimize calls like
printf("\n") into a call to putchar('\n'), but it won't use a static inline
in that case, instead insisting on a real function.

To make this a bit easier, adopt the usual C library practice of making
putc and putchar macros instead of static inline functions. There's no loss
of typechecking as the parameters are directly passed to underlying
functions with the same parameter types.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-25 06:18:26 -04:00
..
sys libc: minimal: include: move sys/stat.h to posix 2023-01-10 09:02:21 +09:00
assert.h
ctype.h
errno.h
fcntl.h libc: minimal: include: move fcntl.h to posix 2023-01-10 09:02:21 +09:00
inttypes.h libc: minimal: Add PRIxMAX macros for [u]intmax_t 2022-05-26 17:38:50 +02:00
limits.h
math.h lib/libc/minimal: Move sqrt/sqrtf from samples 2022-05-14 08:49:36 +09:00
stdbool.h
stdint.h
stdio.h libc/minimal: Create "real" functions for putc and putchar 2023-04-25 06:18:26 -04:00
stdlib.h libc: minimal: Add C11 aligned_alloc 2022-10-03 10:13:25 +02:00
string.h libc: minimal: add strerror and strerror_r function 2022-07-04 22:53:36 +02:00
strings.h
time.h