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

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

DEVICE_GET_UNIT(9)

Contents


NAME    [Toc]    [Back]

     device_get_unit -- access the unit number of a device

SYNOPSIS    [Toc]    [Back]

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

     int
     device_get_unit(device_t dev);

DESCRIPTION    [Toc]    [Back]

     Return the unit number of the device.

SEE ALSO    [Toc]    [Back]

      
      
     device(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
devclass_get_device FreeBSD translate unit number to device
devclass_get_maxunit FreeBSD find the maximum unit number in the class
devclass_get_softc FreeBSD translate unit number to driver private structure
asnqfile IRIX Returns the assign options currently in effect for a file name or unit number
maplun IRIX returns the integer file descriptor for a Fortran logical unit number
XmConvertUnits IRIX A function that converts a value in one unit type to another unit type
XmConvertUnits HP-UX A function that converts a value in one unit type to another unit type
XmConvertUnits Tru64 A function that converts a value in one unit type to another unit type
vcount OpenBSD get total number of references to a device
vfinddev OpenBSD lookup a vnode by device number
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service