Print this page
11583 Some man3lib pages are missing parts of the SYNOPSIS
@@ -1,11 +1,11 @@
'\" te
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
.\" 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.
.\" 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
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH LIBSMHBAAPI 3LIB "Sep 28, 2009"
+.TH LIBSMHBAAPI 3LIB "Aug 19, 2019"
.SH NAME
libSMHBAAPI, libsmhbaapi, SMHBA_GetAdapterAttributes,
SMHBA_GetAdapterPortAttributes, SMHBA_GetBindingCapability,
SMHBA_GetBindingSupport, SMHBA_GetDiscoveredPortAttributes,
SMHBA_GetFCPhyAttributes, SMHBA_GetLUNStatistics, SMHBA_GetNumberofPorts,
@@ -20,19 +20,16 @@
SMHBA_RemoveAllPersistentBindings, SMHBA_RemovePersistentBinding,
SMHBA_ScsiInquiry, SMHBA_ScsiReadCapacity, SMHBA_ScsiReportLuns,
SMHBA_SendECHO, SMHBA_SendSMPPassThru, SMHBA_SendTEST, SMHBA_SetBindingSupport,
SMHBA_SetPersistentBinding \- Common Storage Management HBA information library
.SH SYNOPSIS
-.LP
.nf
-cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lSMHBAAPI\fR [ \fIlibrary\fR\&.\|.\|. ]
+cc [ \fIflag\fR... ] \fIfile\fR... \fB-lSMHBAAPI\fR [ \fIlibrary\fR... ]
#include <smhbaapi.h>
.fi
.SH DESCRIPTION
-.sp
-.LP
The functions in this library access Fibre Channel and/or Serial Attached SCSI
HBA data depending on vendor provided implementation underneath.
.sp
.LP
HBA information is provided through a standard interface in a vendor
@@ -70,22 +67,20 @@
.RE
.RS +4
.TP
.ie t \(bu
.el o
-Storage Managment Protocol commands to discover Serial Attached SCSI
+Storage Management Protocol commands to discover Serial Attached SCSI
configuration details
.RE
.RS +4
.TP
.ie t \(bu
.el o
Common Transport commands to discover Fibre Channel Fabric details
.RE
.SH INTERFACES
-.sp
-.LP
The shared object \fBlibSMHBAAPI.so.1\fR provides the public interfaces defined
below. See \fBIntro\fR(3) for additional information on shared object
interfaces.
.sp
@@ -121,12 +116,10 @@
\fBSMHBA_SendSMPPassThru\fR \fBSMHBA_SendTEST\fR
\fBSMHBA_SetBindingSupport\fR \fBSMHBA_SetPersistentBinding\fR
.TE
.SH USAGE
-.sp
-.LP
Client applications link with the Common Library (using -\fBlSMHBAAPI\fR) to
access the interfaces. The Common Library dynamically loads individual
Vendor-Specific Libraries (VSL) listed in \fB/etc/smhba.conf\fR and described
on \fBsmhba.conf\fR(4).
.sp
@@ -336,11 +329,11 @@
.TP
.ie t \(bu
.el o
\fBSMHBA_SendSMPPassThru()\fR
.RE
-For Fibre Channle HBA
+For Fibre Channel HBA
.RS +4
.TP
.ie t \(bu
.el o
\fBSMHBA_GetFCPhyAttributes()\fR
@@ -421,12 +414,10 @@
.TP
8.
Unload the library by calling \fBHBA_FreeLibrary()\fR.
.RE
.SH ATTRIBUTES
-.sp
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
@@ -443,8 +434,6 @@
ANSI INCITS 428 Storage Management Host Bus Adapter Application Programming Interface (SM-HBA)
T}
.TE
.SH SEE ALSO
-.sp
-.LP
\fBsmhba.conf\fR(4), \fBattributes\fR(5)