HBA_GetNumberOfAdapters man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

HBA_GetNumbeCommonpFibre3Channel HBA InformatiHBA_GetNumberOfAdapters(3HBAAPI)

NAME
       HBA_GetNumberOfAdapters - report the number of HBAs known to the Common
       Library

SYNOPSIS
       cc [ flag... ] file... -lHBAAPI [ library... ]
       #include <hbaapi.h>

       HBA_UINT32 HBA_GetNumberOfAdapters(void);

DESCRIPTION
       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.

RETURN VALUES
       The HBA_GetNumberOfAdapters() function returns the number  of  adapters
       known to the Common Library will be returned.

EXAMPLES
       Example 1: Using HBA_GetNumberOfAdapters()

       numberOfAdapters = HBA_GetNumberOfAdapters();
       for (hbaCount = 0; hbaCount < numberOfAdapters; hbaCount++) {
	   /* ... */
       }

ATTRIBUTES
       See 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 ALSO
       libhbaapi(3LIB), attributes(5)

       T11 FC-MI Specification

SunOS 5.10			  1 Sep 2003  HBA_GetNumberOfAdapters(3HBAAPI)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net