HBA_GetNumberOfAdapters - report the number of HBAs known to the Common Library
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_UINT32 HBA_GetNumberOfAdapters(void);
The 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.
The HBA_GetNumberOfAdapters() function returns the number of adapters known to the Common Library will be returned.
Example 1 Using HBA_GetNumberOfAdapters()
numberOfAdapters = HBA_GetNumberOfAdapters(); for (hbaCount = 0; hbaCount < numberOfAdapters; hbaCount++) { /* ... */ }
See attributes(5) for descriptions of the following attributes:
|
libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |