zephyr/lib/libc/picolibc
Chris Friedt 6f4e96bc24 libc: minimal: include: move sys/stat.h to posix
The `sys/stat.h` header has never been a part of ISO C so move it
to `zephyr/include/posix/sys/`.

To ensure a smooth migration, leave a stub header in
`lib/libc/minimal/include/sys/` that prints a deprecation warning
suggesting developers either include `<zephyr/posix/sys/stat.h>`
or use `CONFIG_POSIX_API=y`.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2023-01-10 09:02:21 +09:00
..
CMakeLists.txt libc/picolibc: Set __LINUX_ERRNO_EXTENSIONS__ for picolibc 2022-10-31 17:17:42 +09:00
Kconfig lib: libc: picolibc: Clean up Kconfig configurations 2022-12-08 15:09:55 -05:00
libc-hooks.c libc: minimal: include: move sys/stat.h to posix 2023-01-10 09:02:21 +09:00