cfunc.unlock_all C Function/C Functions

cfunc.unlock_all

Command cfunc.unlock_all C Function/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description equivalent to the Pick/BASIC statement: unlock

This function returns -1 if an error occurs. The error code is contained in _CP_errno.
Syntax int _CP_unlock_all()
Options
Example
The following example releases all basic locks owned by the current process.

_CP_unlock_all();
Purpose
Related cfunc.introduction
cfunc.lock
cfunc.unlock