This is an alternate entry point for UnlockItem(). This procedure unlocks the specified semaphore. For information about semaphores, which are used to control access to shared resources, see the "Sharing System Resource's" chapter in the 3DO Portfolio Programmer's Guide.
Arguments
s
The item number of the semaphore to unlock.
Return Value
The procedure returns 0 if successful or an error code (a negative value) if an error occurs. Possible error codes include:
NOTOWNER
The semaphore specified by the s argument is not owned by the task.