summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/kstat_named_init.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/kstat_named_init.9f')
-rw-r--r--usr/src/man/man9f/kstat_named_init.9f22
1 files changed, 1 insertions, 21 deletions
diff --git a/usr/src/man/man9f/kstat_named_init.9f b/usr/src/man/man9f/kstat_named_init.9f
index b392efd06c..4ae4450b20 100644
--- a/usr/src/man/man9f/kstat_named_init.9f
+++ b/usr/src/man/man9f/kstat_named_init.9f
@@ -3,7 +3,7 @@
.\" 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 kstat_named_init 9F "29 Feb 2008" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH KSTAT_NAMED_INIT 9F "Feb 29, 2008"
.SH NAME
kstat_named_init, kstat_named_setstr \- initialize a named kstat
.SH SYNOPSIS
@@ -30,99 +30,81 @@ Solaris DDI specific (Solaris DDI)
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIknp\fR\fR
.ad
.RS 13n
-.rt
Pointer to a \fBkstat_named\fR(9S) structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIname\fR\fR
.ad
.RS 13n
-.rt
The name of the statistic.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIdata_type\fR\fR
.ad
.RS 13n
-.rt
The type of value. This indicates which field of the \fBkstat_named\fR(9S)
structure should be used. Valid values are:
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_CHAR\fR\fR
.ad
.RS 24n
-.rt
The "\fBchar\fR" field.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_LONG\fR\fR
.ad
.RS 24n
-.rt
The "\fBlong\fR" field.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_ULONG\fR\fR
.ad
.RS 24n
-.rt
The "\fBunsigned long\fR" field.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_LONGLONG\fR\fR
.ad
.RS 24n
-.rt
Obsolete. Use \fBKSTAT_DATA_INT64\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_ULONGLONG\fR\fR
.ad
.RS 24n
-.rt
Obsolete. Use \fBKSTAT_DATA_UINT64\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBKSTAT_DATA_STRING\fR\fR
.ad
.RS 24n
-.rt
Arbitrary length "\fBlong string\fR" field.
.RE
@@ -130,12 +112,10 @@ Arbitrary length "\fBlong string\fR" field.
.sp
.ne 2
-.mk
.na
\fB\fIstr\fR\fR
.ad
.RS 13n
-.rt
Pointer to a \fBNULL\fR-terminated string.
.RE