@CHIP-RTOS C Library V2.06 - RTOS API
RTX_Find_Sem
Find a semaphore by name. int RTX_Find_Sem ( int far *ID, const char far *name ); Parameters
ID
- Output parameter: Pointer to semaphore ID
name
- Input parameter: Pointer to the four character name
of the semaphore to search for.
Return Value
- zero -> Semaphore found
non-zero -> Return error
code.
Comments
- The four character name string need not be zero terminated. However,
it must contain four characters to be matched against the four character
name provided when semaphore was created.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|