# OS_InitLock

## Syntax

      #include <nitro/os.h>

      void OS_InitLock(void);

## Arguments

None.

## Return Values

None.

## Description

This function performs the initialization process related to the exclusion control for the OS library. The function must be called at least once before calling any functions that perform exclusion control. This function is called internally from `OS_Init`, so it does not normally need to be called.

## See Also

`OS_Init, OS_LockCard, OS_LockCartridge, OS_UnlockCard, OS_UnlockCartridge, OS_TryLockCard, OS_TryLockCartridge, OS_GetLockID, OS_ReleaseLockID`

## Revision History

2005/02/18 Initial version.

CONFIDENTIAL