*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> devclass_get_devices (9)              
Title
Content
Arch
Section
 

Contents


DEVCLASS_GET_DEVICE... FreeBSD Kernel Developer's ManualDEVCLASS_GET_DEVICE...

NAME    [Toc]    [Back]

     devclass_get_devices -- get a list of devices in a devclass

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/bus.h>

     int
     devclass_get_devices(devclass_t dc, device_t **devlistp, int *devcountp);

DESCRIPTION    [Toc]    [Back]

     Retrieve a list of all device instances currently in the devclass and
     return the list in *devlistp and the count in *devcountp.	The memory
     allocated for the list should be freed using free(*devlistp, M_TEMP).

RETURN VALUES    [Toc]    [Back]

     Zero is returned on success, otherwise an appropriate error is returned.

SEE ALSO    [Toc]    [Back]

      
      
     devclass(9), device(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
device_get_children FreeBSD get a list of devices connected to a device
fs_config_get_devs Tru64 Obtains a list of devices in an AdvFS domain configuration.
devclass_find FreeBSD search for a devclass
devclass_get_name FreeBSD access the name of a devclass
device_get_devclass FreeBSD access the devclass of a device
devclass_find_driver FreeBSD manipulate the drivers in a devclass
devclass_add_driver FreeBSD manipulate the drivers in a devclass
devclass_delete_driver FreeBSD manipulate the drivers in a devclass
XmListDeletePositions HP-UX A List function that deletes items from a list based on an array of positions
XmListDeletePositions IRIX A List function that deletes items from a list based on an array of positions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service