Exemple #1
0
func (d Device) Driver() string {
	return C.GoString(C.udev_device_get_driver(d.ptr))
}
Exemple #2
0
// Driver returns the driver for the receiver
func (d *Device) Driver() string {
	d.lock()
	defer d.unlock()
	return C.GoString(C.udev_device_get_driver(d.ptr))
}