Query: hba_getnumberofadapters
OS: hpux
Section: 3hbaapi
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HBA_GetNumberOfAdapters(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_GetNumberOfAdapters(3HBAAPI)NAMEHBA_GetNumberOfAdapters - report the number of HBAs known to the Common LibrarySYNOPSIScc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_UINT32 HBA_GetNumberOfAdapters(void);DESCRIPTIONThe HBA_GetNumberOfAdapters() function report the number of HBAs known to the Common Library. This number is the sum of the number of HBAs reported by each VSL loaded by the Common Library.RETURN VALUESThe HBA_GetNumberOfAdapters() function returns the number of adapters known to the Common Library will be returned.EXAMPLESExample 1: Using HBA_GetNumberOfAdapters() numberOfAdapters = HBA_GetNumberOfAdapters(); for (hbaCount = 0; hbaCount < numberOfAdapters; hbaCount++) { /* ... */ }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), attributes(5) T11 FC-MI Specification SunOS 5.10 1 Sep 2003 HBA_GetNumberOfAdapters(3HBAAPI)
Similar Topics in the Unix Linux Community |
---|
Help! Moving HBA cards to different slots |
Back-to-Back Connection using HBAs |
HBA Card |
S-300: CiscoWorks Common Services Vulnerability |
Need Help with SDD / SDDPCM / MPIO |