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