This is a Solaris library for controlling device such as USB devices, disks, etc. This library is used to poweron or poweroff a device, to reset device, to get the state of a device, etc. This library is an intrface to the Solaris kernel and cannot be used on other platforms. This library was taken from the illumos project https://www.illumos.org Namely, https://github.com/illumos/illumos-gate/tree/master/usr/src/lib/libdevice