nuttx/libs
Huang Qi 311f42bbac libc/unistd: Replace pipe() macro with proper function implementation
Replace the pipe() macro definition with a proper function implementation
to improve POSIX compliance and debugging capabilities. The new pipe()
function serves as a wrapper around pipe2() with flags set to 0.

Changes include:
- Convert pipe() from macro to function declaration in unistd.h
- Add lib_pipe.c implementation file with proper function documentation
- Update build system files (CMakeLists.txt and Make.defs) to include
  the new source file when CONFIG_PIPES is enabled
- Add pipe() entry to libc.csv for symbol tracking

This change allows for better debugging, proper symbol resolution,
and follows NuttX coding standards for library function implementations.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-11-26 17:18:13 +08:00
..
libbuiltin libs: remove not related comments from cmake files 2025-10-11 17:07:51 -04:00
libc libc/unistd: Replace pipe() macro with proper function implementation 2025-11-26 17:18:13 +08:00
libdsp style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
libm libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
libnx style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
libxx libs: remove not related comments from cmake files 2025-10-11 17:07:51 -04:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00