func (d Device) DevNum() DevNum { return DevNum(C.udev_device_get_devnum(d.ptr)) }
// Devnum returns the device major/minor number. func (d *Device) Devnum() Devnum { d.lock() defer d.unlock() return Devnum{C.udev_device_get_devnum(d.ptr)} }