nuttx/fs/semaphore
zhanghongyu ee4c25f34e sem_open: return error code, sem returned by parameter
pointer comparison is unsigned, when returning -errno will be converted
to a large positive number, can not enter the error handling branch,
therefore, the error code is returned directly and the sem is returned
through the parameters.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2024-06-06 02:40:50 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig semaphore: Change FS_NAMED_SEMPATH from "/var/lock" to "/var/sem" 2022-02-05 23:58:01 +01:00
Make.defs Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
sem_close.c sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
sem_open.c sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
sem_unlink.c sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
semaphore.h Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00