clone - open any minor device on a STREAMS driver
clone passes a minor number of 0 to the target driver, and it is the
responsibility of the target driver to select an unused minor number from
the numbers it supports.
clone generates an ENXIO error, without opening the device, if the minor
device number provided does not correspond to a valid major device, or if
the driver indicated is not a STREAMS driver.
Multiple opens of the same minor device cannot be done through the clone
interface. Executing stat(2) on the filesystem node for a cloned device
yields a different result from executing fstat(2) using a file descriptor
obtained from opening the node.
IRIX Device Driver Programmer's Guide
PPPPaaaaggggeeee 1111 [ Back ]