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

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

DEVCLASS_GET_SOFTC(9)

Contents


NAME    [Toc]    [Back]

     devclass_get_softc -- translate unit number to driver private structure

SYNOPSIS    [Toc]    [Back]

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

     void *
     devclass_get_softc(devclass_t dc, int unit);

DESCRIPTION    [Toc]    [Back]

     This function retrieves the driver private instance variables for the
     device with the given unit number and returns it.

RETURN VALUES    [Toc]    [Back]

     If the device exists, its driver-private variables are returned, otherwise
 NULL is returned.

SEE ALSO    [Toc]    [Back]

      
      
     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
devclass_get_device FreeBSD translate unit number to device
SSL_get_privatekey Tru64 Get a private-key of the X.509 certificate loaded in the SSL structure
SSL_check_private_key Tru64 Checks the private key against the public key of the certificate in the SSL structure
device_get_unit FreeBSD access the unit number of a device
devclass_get_maxunit FreeBSD find the maximum unit number in the class
device_get_softc FreeBSD access driver private instance variables
max_mem_window HP-UX maximum number of group-private 32-bit shared memory configurable by users
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
DTtctoframe IRIX convert DAT timecode structure to DAT frame number.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service