xref: /freebsd/share/man/man9/devclass_get_count.9 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
18844d5efSNate Lawson.\" -*- nroff -*-
28844d5efSNate Lawson.\"
38844d5efSNate Lawson.\" Copyright (c) 2004 Nate Lawson
48844d5efSNate Lawson.\" All rights reserved.
58844d5efSNate Lawson.\"
68844d5efSNate Lawson.\" Redistribution and use in source and binary forms, with or without
78844d5efSNate Lawson.\" modification, are permitted provided that the following conditions
88844d5efSNate Lawson.\" are met:
98844d5efSNate Lawson.\" 1. Redistributions of source code must retain the above copyright
108844d5efSNate Lawson.\"    notice, this list of conditions and the following disclaimer.
118844d5efSNate Lawson.\" 2. Redistributions in binary form must reproduce the above copyright
128844d5efSNate Lawson.\"    notice, this list of conditions and the following disclaimer in the
138844d5efSNate Lawson.\"    documentation and/or other materials provided with the distribution.
148844d5efSNate Lawson.\"
158844d5efSNate Lawson.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
168844d5efSNate Lawson.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
178844d5efSNate Lawson.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
188844d5efSNate Lawson.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
198844d5efSNate Lawson.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
208844d5efSNate Lawson.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
218844d5efSNate Lawson.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
228844d5efSNate Lawson.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
238844d5efSNate Lawson.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
248844d5efSNate Lawson.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
258844d5efSNate Lawson.\"
268844d5efSNate Lawson.Dd December 5, 2004
278844d5efSNate Lawson.Dt DEVCLASS_GET_COUNT 9
288844d5efSNate Lawson.Os
298844d5efSNate Lawson.Sh NAME
308844d5efSNate Lawson.Nm devclass_get_count
318844d5efSNate Lawson.Nd get the number of devices in a devclass
328844d5efSNate Lawson.Sh SYNOPSIS
338844d5efSNate Lawson.In sys/param.h
348844d5efSNate Lawson.In sys/bus.h
358844d5efSNate Lawson.Ft int
368844d5efSNate Lawson.Fn devclass_get_count "devclass_t dc"
378844d5efSNate Lawson.Sh DESCRIPTION
388844d5efSNate LawsonReturns the number of device instances in the specified
39e47b4a13SRuslan Ermilov.Vt devclass .
408844d5efSNate Lawson.Sh SEE ALSO
418844d5efSNate Lawson.Xr devclass 9 ,
428844d5efSNate Lawson.Xr device 9
438844d5efSNate Lawson.Sh AUTHORS
44571dba6eSHiten PandyaThis manual page was written by
458844d5efSNate Lawson.An Nate Lawson .
46