cfunc.unlock_all

C Function/C Functions, Releases: AP 6.1

Pick/BASIC 'unlock' functionality from C.

Syntax

int _CP_unlock_all()

Description

equivalent to the Pick/BASIC statement: unlock

This function returns -1 if an error occurs. The error code is contained in _CP_errno.

Example

The following example releases all basic locks owned by the current process.

_CP_unlock_all();

See Also

Command Name Type Description
cfunc.introduction Introductory Overview
cfunc.lock C Function Pick/BASIC 'lock' functionality from C.
cfunc.unlock C Function Pick/BASIC 'unlock' functionality from C.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.