nuttx/libs/libc/spawn
Stuart Ianna c1db9732c5 libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory.
Add a minimal implementation to suppress warnings when building
application code shared with other operating systems.

For example:

When building with a c++ compiler and GCC 12.2.0, the following warning is emitted:

nuttx/include/spawn.h:178:40: warning: statement has no effect [-Wunused-value]
  178 | #define posix_spawnattr_destroy(attr) (0)
2023-10-31 13:42:00 +08:00
..
CMakeLists.txt libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00
lib_psa_destroy.c libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00
lib_psa_dump.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
lib_psa_getflags.c
lib_psa_getschedparam.c
lib_psa_getschedpolicy.c
lib_psa_getsigmask.c
lib_psa_getstackaddr.c sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr] 2022-11-01 09:51:18 +09:00
lib_psa_getstacksize.c sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr] 2022-11-01 09:51:18 +09:00
lib_psa_init.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
lib_psa_setflags.c
lib_psa_setschedparam.c
lib_psa_setschedpolicy.c sched: Map SCHED_OTHER to SCHED_FIFO or SCHED_RR 2023-01-30 03:01:03 +02:00
lib_psa_setsigmask.c
lib_psa_setstackaddr.c sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr] 2022-11-01 09:51:18 +09:00
lib_psa_setstacksize.c sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr] 2022-11-01 09:51:18 +09:00
lib_psfa_addaction.c
lib_psfa_addclose.c
lib_psfa_adddup2.c libs/lib_psfa_adddup2.c: remove workaround aboud dup2 2023-10-27 21:15:07 +08:00
lib_psfa_addopen.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
lib_psfa_destroy.c
lib_psfa_dump.c
lib_psfa_init.c
Make.defs libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00