Home
last modified time | relevance | path

Searched refs:SEM_FAILED (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/posix/semaphores/src/
Dmain.c153 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST()
159 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST()
173 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST()
179 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST()
211 zassert_equal_ptr((sem_open("sem1", O_CREAT | O_EXCL, 0, 0)), SEM_FAILED); in ZTEST()
/Zephyr-latest/lib/posix/options/
Dsemaphore.c237 return (sem_t *)SEM_FAILED; in sem_open()
242 return (sem_t *)SEM_FAILED; in sem_open()
248 return (sem_t *)SEM_FAILED; in sem_open()
308 return nsem == NULL ? SEM_FAILED : &nsem->sem; in sem_open()
/Zephyr-latest/include/zephyr/posix/
Dsemaphore.h16 #define SEM_FAILED ((sem_t *) 0) macro