diag_unlock
Purpose
Release an ODM lock.
Syntax
#include <odmi.h>
int diag_unlock(int *id)
Description
The diag_unlock subroutine releases an odm lock.
Parameters
Parameter | Description |
---|---|
id | Lock id to release |
Return Value
The diag_unlock subroutine returns one of the following values:
Parameter | Description |
---|---|
0 | If successful |
-1 | Error occured while trying to unlock a lock |