pub unsafe extern "C-unwind" fn IORegistryEntryGetName(
entry: io_registry_entry_t,
name: *mut [c_char; 128],
) -> kern_return_tAvailable on crate feature
libc only.Expand description
Returns a C-string name assigned to a registry entry.
Registry entries can be named in a particular plane, or globally. This function returns the entry’s global name. The global name defaults to the entry’s meta class name if it has not been named.
Parameter entry: The registry entry handle whose name to look up.
Parameter name: The caller’s buffer to receive the name.
Returns: A kern_return_t error code.