GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BUS_GET_PROPERTY(9) FreeBSD Kernel Developer's Manual BUS_GET_PROPERTY(9)

BUS_GET_PROPERTYget child's specific property

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

ssize_t
BUS_GET_PROPERTY(device_t dev, device_t child, const char *propname, void *propvalue, size_t size, device_property_type_t type);

The () method is called from driver code which wants to access a child's specific data stored on the bus. A property has a name and an associated value. Implementation shall copy to propvalue at most size bytes.

() supports different property types specified via the type argument. The size is guaranteed to be a multiple of the underlying property type. If a type is not supported, BUS_GET_PROPERTY() shall return -1.

If propvalue is NULL or size is zero, the implementation shall return only the size of the property.

The property size if successful, otherwise -1.

device(9), device_get_property(9)

This manual page was written by Bartlomiej Grzesik.

February 18, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 9 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.