Query: hba_freelibrary
OS: sunos
Section: 3hbaapi
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HBA_LoadLibrary(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_LoadLibrary(3HBAAPI)NAMEHBA_LoadLibrary, HBA_FreeLibrary - load and free the resources used by the HBA Common LibrarySYNOPSIScc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_LoadLibrary(void); HBA_STATUS HBA_FreeLibrary(void);DESCRIPTIONThe HBA_LoadLibrary() function loads the Common Library, which in turn loads each VSL specified in the hba.conf(4) file. The HBA_FreeLibrary() function releases resources held by the Common Library and each loaded VSL.RETURN VALUESUpon successful completion, HBA_LoadLibrary() and HBA_FreeLibrary() return HBA_STATUS_OK. Otherwise, an error value is returned.ERRORSSee libhbaapi(3LIB) for general error status values.EXAMPLESExample 1: Load the common library and each VSL. The following example loads the common library and each VSL. if ((status = HBA_LoadLibrary()) != HBA_STATUS_OK) { fprintf(stderr, "HBA_LoadLibrary failed: %d ", status); return; }ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: FC-MI 1.92 (API | | |version 1) | +-----------------------------+-----------------------------+ | |Standard: FC-HBA Version 4 | | |(API version 2) | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+SEE ALSOlibhbaapi(3LIB), hba.conf(4), attributes(5) T11 FC-MI Specification SunOS 5.10 1 Sep 2003 HBA_LoadLibrary(3HBAAPI)
Related Man Pages |
---|
libhbaapi(3lib) - sunos |
hba.conf(4) - opensolaris |
hba_loadlibrary(3hbaapi) - opensolaris |
hba_getnumberofadapters(3hbaapi) - hpux |
hba_loadlibrary(3hbaapi) - hpux |
Similar Topics in the Unix Linux Community |
---|
Standard Portable Library 0.2.2 (Default branch) |
How to configure a FC HBA in "initiator mode"? |
Senayan: 3 Stable 5 Library Automation released! |
What is an HBA..? |
HBA card faulty |