Function drm_ffi::get_bus_id [−][src]
pub fn get_bus_id(
fd: RawFd,
buf: Option<&mut &mut [u8]>
) -> Result<drm_unique, Error>
Expand description
Load this device’s Bus ID into a buffer.
If the buffer is too small, this will load the maximum bytes in the buffer. If the buffer is too big, this will coerce the buffer to the proper size.