Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DEVCLASS_GET_DEVICE(9)	 BSD Kernel Developer's	Manual	DEVCLASS_GET_DEVICE(9)

NAME
     devclass_get_device -- translate unit number to device

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

     device_t
     devclass_get_device(devclass_t dc,	int unit);

DESCRIPTION
     This function retrieves the device	instance with the given	unit number
     and returns it.

RETURN VALUES
     If	the device exists, it is returned, otherwise NULL is returned.

SEE ALSO
     devclass(9), device(9)

AUTHORS
     This manual page was written by Doug Rabson.

BSD				 June 16, 1998				   BSD

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=devclass_get_device&sektion=9&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help