xref: /dflybsd-src/share/man/man9/devclass_get_count.9 (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino.\" -*- nroff -*-
286d7f5d3SJohn Marino.\"
386d7f5d3SJohn Marino.\" Copyright (c) 2004 Nate Lawson
486d7f5d3SJohn Marino.\" All rights reserved.
586d7f5d3SJohn Marino.\"
686d7f5d3SJohn Marino.\" Redistribution and use in source and binary forms, with or without
786d7f5d3SJohn Marino.\" modification, are permitted provided that the following conditions
886d7f5d3SJohn Marino.\" are met:
986d7f5d3SJohn Marino.\" 1. Redistributions of source code must retain the above copyright
1086d7f5d3SJohn Marino.\"    notice, this list of conditions and the following disclaimer.
1186d7f5d3SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright
1286d7f5d3SJohn Marino.\"    notice, this list of conditions and the following disclaimer in the
1386d7f5d3SJohn Marino.\"    documentation and/or other materials provided with the distribution.
1486d7f5d3SJohn Marino.\"
1586d7f5d3SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
1686d7f5d3SJohn Marino.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1786d7f5d3SJohn Marino.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1886d7f5d3SJohn Marino.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
1986d7f5d3SJohn Marino.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2086d7f5d3SJohn Marino.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2186d7f5d3SJohn Marino.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2286d7f5d3SJohn Marino.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2386d7f5d3SJohn Marino.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2486d7f5d3SJohn Marino.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2586d7f5d3SJohn Marino.\"
2686d7f5d3SJohn Marino.\" $FreeBSD: src/share/man/man9/devclass_get_count.9,v 1.3 2005/06/28 20:15:18 hmp Exp $
2786d7f5d3SJohn Marino.\" $DragonFly: src/share/man/man9/devclass_get_count.9,v 1.1 2008/11/22 20:08:35 swildner Exp $
2886d7f5d3SJohn Marino.\"
2986d7f5d3SJohn Marino.Dd November 22, 2008
3086d7f5d3SJohn Marino.Dt DEVCLASS_GET_COUNT 9
3186d7f5d3SJohn Marino.Os
3286d7f5d3SJohn Marino.Sh NAME
3386d7f5d3SJohn Marino.Nm devclass_get_count
3486d7f5d3SJohn Marino.Nd get the number of devices in a devclass
3586d7f5d3SJohn Marino.Sh SYNOPSIS
3686d7f5d3SJohn Marino.In sys/param.h
3786d7f5d3SJohn Marino.In sys/bus.h
3886d7f5d3SJohn Marino.Ft int
3986d7f5d3SJohn Marino.Fn devclass_get_count "devclass_t dc"
4086d7f5d3SJohn Marino.Sh DESCRIPTION
4186d7f5d3SJohn MarinoReturns the number of device instances in the specified
4286d7f5d3SJohn Marino.Vt devclass .
4386d7f5d3SJohn Marino.Sh SEE ALSO
4486d7f5d3SJohn Marino.Xr devclass 9 ,
4586d7f5d3SJohn Marino.Xr device 9
4686d7f5d3SJohn Marino.Sh AUTHORS
4786d7f5d3SJohn MarinoThis manual page was written by
4886d7f5d3SJohn Marino.An Nate Lawson .
49