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

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

DEVICE_GET_CHILDREN(9)

Contents


NAME    [Toc]    [Back]

     device_get_children -- get a list of devices connected to a device

SYNOPSIS    [Toc]    [Back]

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

     int
     device_get_children(device_t dev, device_t **devlistp, int *devcountp);

DESCRIPTION    [Toc]    [Back]

     Retrieve a list of all device instances currently connected to dev 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 manual page was written by Doug Rabson.


FreeBSD 5.2.1		       December 1, 1999 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
usbdevs OpenBSD show USB devices connected to the system
usbdevs FreeBSD show USB devices connected to the system
intro FreeBSD introduction to devices and device drivers
devclass_get_devices FreeBSD get a list of devices in a devclass
scsimgr Tru64 manage SCSI devices and device databases
fs_config_get_devs Tru64 Obtains a list of devices in an AdvFS domain configuration.
lsdev HP-UX list device drivers in the system
getpeername Linux get name of connected peer
getpeername IRIX get name of connected peer
getpeername NetBSD get name of connected peer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service