Print this page
11583 Some man3lib pages are missing parts of the SYNOPSIS

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3lib/libSMHBAAPI.3lib
          +++ new/usr/src/man/man3lib/libSMHBAAPI.3lib
   1    1  '\" te
   2    2  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
   4    4  .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
   5    5  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH LIBSMHBAAPI 3LIB "Sep 28, 2009"
        6 +.TH LIBSMHBAAPI 3LIB "Aug 19, 2019"
   7    7  .SH NAME
   8    8  libSMHBAAPI, libsmhbaapi, SMHBA_GetAdapterAttributes,
   9    9  SMHBA_GetAdapterPortAttributes, SMHBA_GetBindingCapability,
  10   10  SMHBA_GetBindingSupport, SMHBA_GetDiscoveredPortAttributes,
  11   11  SMHBA_GetFCPhyAttributes, SMHBA_GetLUNStatistics, SMHBA_GetNumberofPorts,
  12   12  SMHBA_GetPersistentBinding, SMHBA_GetPhyStatistics,
  13   13  SMHBA_GetPortAttributesByWWN, SMHBA_GetPortType, SMHBA_GetProtocolStatistics,
  14   14  SMHBA_GetSASPhyAttributes, SMHBA_GetTargetMapping,
  15   15  SMHBA_GetVendorLibraryAttributes, SMHBA_GetVersion,
  16   16  SMHBA_GetWrapperLibraryAttributes, SMHBA_RegisterForAdapterAddEvents,
  17   17  SMHBA_RegisterForAdapterEvents, SMHBA_RegisterForAdapterPhyStatEvents,
  18   18  SMHBA_RegisterForAdapterPortEvents, SMHBA_RegisterForAdapterPortStatEvents,
  19   19  SMHBA_RegisterForTargetEvents, SMHBA_RegisterLibrary,
  20   20  SMHBA_RemoveAllPersistentBindings, SMHBA_RemovePersistentBinding,
  21   21  SMHBA_ScsiInquiry, SMHBA_ScsiReadCapacity, SMHBA_ScsiReportLuns,
  22   22  SMHBA_SendECHO, SMHBA_SendSMPPassThru, SMHBA_SendTEST, SMHBA_SetBindingSupport,
  23   23  SMHBA_SetPersistentBinding \- Common Storage Management HBA information library
  24   24  .SH SYNOPSIS
  25      -.LP
  26   25  .nf
  27      -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lSMHBAAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
       26 +cc [ \fIflag\fR... ] \fIfile\fR... \fB-lSMHBAAPI\fR [ \fIlibrary\fR... ]
  28   27  #include <smhbaapi.h>
  29   28  .fi
  30   29  
  31   30  .SH DESCRIPTION
  32      -.sp
  33      -.LP
  34   31  The functions in this library access Fibre Channel and/or Serial Attached SCSI
  35   32  HBA data depending on vendor provided implementation underneath.
  36   33  .sp
  37   34  .LP
  38   35  HBA information is provided through a standard interface in a vendor
  39   36  independent manner. This common interface provides access to the following
  40   37  information:
  41   38  .RS +4
  42   39  .TP
  43   40  .ie t \(bu
↓ open down ↓ 21 lines elided ↑ open up ↑
  65   62  .RS +4
  66   63  .TP
  67   64  .ie t \(bu
  68   65  .el o
  69   66  SCSI commands for discovered devices (Report LUNS, Read Capacity, and Inquiry)
  70   67  .RE
  71   68  .RS +4
  72   69  .TP
  73   70  .ie t \(bu
  74   71  .el o
  75      -Storage Managment Protocol commands to discover Serial Attached SCSI
       72 +Storage Management Protocol commands to discover Serial Attached SCSI
  76   73  configuration details
  77   74  .RE
  78   75  .RS +4
  79   76  .TP
  80   77  .ie t \(bu
  81   78  .el o
  82   79  Common Transport commands to discover Fibre Channel Fabric details
  83   80  .RE
  84   81  .SH INTERFACES
  85      -.sp
  86      -.LP
  87   82  The shared object \fBlibSMHBAAPI.so.1\fR provides the public interfaces defined
  88   83  below. See \fBIntro\fR(3) for additional information on shared object
  89   84  interfaces.
  90   85  .sp
  91   86  
  92   87  .sp
  93   88  .TS
  94   89  l l
  95   90  l l .
  96   91  \fBHBA_CloseAdapter\fR  \fBHBA_FreeLibrary\fR
↓ open down ↓ 19 lines elided ↑ open up ↑
 116  111  \fBSMHBA_RegisterForAdapterPortEvents\fR        \fBSMHBA_RegisterForAdapterPortStatEvents\fR
 117  112  \fBSMHBA_RegisterForTargetEvents\fR     \fBSMHBA_RegisterLibrary\fR
 118  113  \fBSMHBA_RemoveAllPersistentBindings\fR \fBSMHBA_RemovePersistentBinding\fR
 119  114  \fBSMHBA_ScsiInquiry\fR \fBSMHBA_ScsiReadCapacity\fR
 120  115  \fBSMHBA_ScsiReportLuns\fR      \fBSMHBA_SendECHO\fR
 121  116  \fBSMHBA_SendSMPPassThru\fR     \fBSMHBA_SendTEST\fR
 122  117  \fBSMHBA_SetBindingSupport\fR   \fBSMHBA_SetPersistentBinding\fR
 123  118  .TE
 124  119  
 125  120  .SH USAGE
 126      -.sp
 127      -.LP
 128  121  Client applications link with the Common Library (using -\fBlSMHBAAPI\fR) to
 129  122  access the interfaces. The Common Library dynamically loads individual
 130  123  Vendor-Specific Libraries (VSL) listed in \fB/etc/smhba.conf\fR and described
 131  124  on \fBsmhba.conf\fR(4).
 132  125  .sp
 133  126  .LP
 134  127  Using the \fBlibSMHBAAPI\fR involves the following steps:
 135  128  .RS +4
 136  129  .TP
 137  130  1.
↓ open down ↓ 193 lines elided ↑ open up ↑
 331  324  .ie t \(bu
 332  325  .el o
 333  326  \fBSMHBA_GetSASPhyAttributes()\fR
 334  327  .RE
 335  328  .RS +4
 336  329  .TP
 337  330  .ie t \(bu
 338  331  .el o
 339  332  \fBSMHBA_SendSMPPassThru()\fR
 340  333  .RE
 341      -For Fibre Channle HBA
      334 +For Fibre Channel HBA
 342  335  .RS +4
 343  336  .TP
 344  337  .ie t \(bu
 345  338  .el o
 346  339  \fBSMHBA_GetFCPhyAttributes()\fR
 347  340  .RE
 348  341  .RS +4
 349  342  .TP
 350  343  .ie t \(bu
 351  344  .el o
↓ open down ↓ 64 lines elided ↑ open up ↑
 416  409  .TP
 417  410  7.
 418  411  Close open HBAs by calling \fBHBA_CloseAdapter()\fR.
 419  412  .RE
 420  413  .RS +4
 421  414  .TP
 422  415  8.
 423  416  Unload the library by calling \fBHBA_FreeLibrary()\fR.
 424  417  .RE
 425  418  .SH ATTRIBUTES
 426      -.sp
 427      -.LP
 428  419  See \fBattributes\fR(5) for descriptions of the following attributes:
 429  420  .sp
 430  421  
 431  422  .sp
 432  423  .TS
 433  424  box;
 434  425  c | c
 435  426  l | l .
 436  427  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 437  428  _
 438  429  Interface Stability     Committed
 439  430  _
 440  431  MT-Level        MT-Safe
 441  432  _
 442  433  Standard        T{
 443  434  ANSI INCITS 428  Storage Management Host Bus Adapter Application Programming Interface (SM-HBA)
 444  435  T}
 445  436  .TE
 446  437  
 447  438  .SH SEE ALSO
 448      -.sp
 449      -.LP
 450  439  \fBsmhba.conf\fR(4), \fBattributes\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX