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

imc_asdetach(3)

NAME

imc_asdetach - Detaches a region of Memory Channel address space from the virtual address space of the calling process

LIBRARY

Memory Channel API library (libimc.a)

SYNOPSIS

#include <sys/imc.h> int imc_asdetach ( imc_asid_t id );

PARAMETER

id Identifies the region of Memory Channel address space to be detached. The identifier specified by the id parameter must be the one generated by the call to the imc_asalloc() function that allocated the region.

DESCRIPTION

The imc_asdetach() function detaches a region of Memory Channel address space. When the function is called, it detaches all transmit and receive regions associated with the identifier specified by the id parameter. After a region is detached, all addresses associated with the region become invalid. All Memory Channel regions attached by a process are automatically detached when the process exits.

RETURN VALUES

The imc_asdetach() function returns one of the following values: IMC_SUCCESS Normal successful completion. IMC_BADPARM An invalid parameter was specified in the call to the imc_asdetach() function. IMC_BADREGION The region specified in the call to the imc_asdetach() function is invalid. 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_asalloc(3), imc_asattach(3), imc_asattach_ptp(3), imc_asdealloc(3) Cluster Highly Available Applications

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