pub unsafe extern "C-unwind" fn IOObjectGetClass(
object: io_object_t,
class_name: *mut [c_char; 128],
) -> kern_return_tAvailable on crate feature
libc only.Expand description
Return the class name of an IOKit object.
This function uses the OSMetaClass system in the kernel to derive the name of the class the object is an instance of.
Parameter object: The IOKit object.
Parameter className: Caller allocated buffer to receive the name string.
Returns: A kern_return_t error code.
ยงSafety
class_name Array TODO.