Index Index for
Section 3
Index Alphabetical
listing for I
Bottom of page Bottom of
page

imc_lkdealloc(3)

NAME

imc_lkdealloc - Deallocates a lock set

LIBRARY

Memory Channel API library (libimc.a)

SYNOPSIS

#include <sys/imc.h> int imc_lkdealloc ( imc_lkid_t lock );

PARAMETER

lock Identifies the lock set to be deallocated. The lock set specified by the lock parameter must previously have been allocated by a call to the imc_lkalloc() function.

DESCRIPTION

The imc_lkdealloc() function deallocates the lock set specified by the lock parameter. An attempt to deallocate a lock set that contains active locks will result in an error condition. All lock sets allocated by a process are automatically deallocated when the process exits.

RETURN VALUES

The imc_lkdealloc() function returns one of the following values: IMC_SUCCESS Normal successful completion. IMC_BADLOCK The lock set specified by the lock parameter does not exist. IMC_BADPARM An invalid parameter was specified in the call to the imc_lkdealloc() function. IMC_CORRUPTLOCK An attempt was made to deallocate an invalid or corrupted lock set. IMC_LOCKACTIVE The lock set has active locks. IMC_NOTALLOC The lock set is not allocated. IMC_NOTINIT This host has not been initialized to use the Memory Channel Application Programming Interface (API) library.

RELATED INFORMATION

Introduction: imc(3) Commands: imc_init(1), imcs(1) Functions: imc_api_init(3), imc_lkacquire(3), imc_lkalloc(3), imc_lkrelease(3) Cluster Highly Available Applications

Index Index for
Section 3
Index Alphabetical
listing for I
Top of page Top of
page