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

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

DEVICE_GET_NAME(9)

Contents


NAME    [Toc]    [Back]

     device_get_name, device_get_nameunit -- access the name of a device's
     device class or instance

SYNOPSIS    [Toc]    [Back]

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

     const char *
     device_get_name(device_t dev);

     const char *
     device_get_nameunit(device_t dev);

DESCRIPTION    [Toc]    [Back]

     The device_get_name() function returns the name of the device's device
     class.

     The device_get_nameunit() function returns the name of the device's
     instance.

SEE ALSO    [Toc]    [Back]

      
      
     device(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Warner Losh.


FreeBSD 5.2.1			April 21, 2003			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
BUS_READ_IVAR FreeBSD manipulate bus-specific device instance variables
BUS_WRITE_IVAR FreeBSD manipulate bus-specific device instance variables
cdce OpenBSD USB Communication Device Class Ethernet driver
autochanger HP-UX SCSI interfaces for medium changer device and magnetooptical autochanger surface device
device_get_desc FreeBSD access the description of a device
device_set_desc FreeBSD access the description of a device
device_get_devclass FreeBSD access the devclass of a device
device_set_desc_copy FreeBSD access the description of a device
devctl FreeBSD device event reporting and device control interface
device_get_unit FreeBSD access the unit number of a device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service