1 '\" te
2 .\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
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.
4 .\" 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.
5 .\" 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]
6 .TH DDI_FFS 9F "Jan 16, 2006"
7 .SH NAME
8 ddi_ffs, ddi_fls \- find first (last) bit set in a long integer
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/conf.h>
13 #include <sys/ddi.h>
14 #include <sys/sunddi.h>
15
16
17
18 \fBint\fR\fBddi_ffs\fR(\fBlong\fR \fImask\fR);
19 .fi
20
21 .LP
22 .nf
23 \fBint\fR \fBddi_fls\fR(\fBlong\fR \fImask\fR);
24 .fi
25
26 .SH INTERFACE LEVEL
27 .sp
28 .LP
29 Solaris DDI specific (Solaris DDI).
30 .SH PARAMETERS
31 .sp
32 .ne 2
33 .na
34 \fB\fImask\fR\fR
35 .ad
36 .RS 8n
37 A 32-bit argument value to search through.
38 .RE
|
1 '\" te
2 .\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
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.
4 .\" 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.
5 .\" 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]
6 .TH DDI_FFS 9F "Jun 5, 2013"
7 .SH NAME
8 ddi_ffs, ddi_fls \- find first (last) bit set in a long integer
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/conf.h>
13 #include <sys/ddi.h>
14 #include <sys/sunddi.h>
15
16
17
18 \fBint\fR \fBddi_ffs\fR(\fBlong\fR \fImask\fR);
19 .fi
20
21 .LP
22 .nf
23 \fBint\fR \fBddi_fls\fR(\fBlong\fR \fImask\fR);
24 .fi
25
26 .SH INTERFACE LEVEL
27 .sp
28 .LP
29 Solaris DDI specific (Solaris DDI).
30 .SH PARAMETERS
31 .sp
32 .ne 2
33 .na
34 \fB\fImask\fR\fR
35 .ad
36 .RS 8n
37 A 32-bit argument value to search through.
38 .RE
|