www.beck-ipc.com

@CHIP-RTOS C Library - 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.

Related Topics

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document