nuttx/libs/libc/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
Make.defs
sem_clockwait.c
sem_close.c
sem_destroy.c
sem_getprotocol.c
sem_getvalue.c
sem_init.c
sem_open.c sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
sem_post.c
sem_setprotocol.c
sem_timedwait.c
sem_trywait.c
sem_unlink.c
sem_wait.c