:man| Alphabetical   Categories   Search   About us 
 
DEVCLASS_GET_DEVICE (9) | Kernel routines | Unix Manual Pages | :man

NAME

devclass_get_device - translate unit number to device

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In 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

 
Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun