clone(7)clone(7)NAMEclone - open any minor device on a STREAMS driver
DESCRIPTIONclone 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.
CAVEATS
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.
SEE ALSOlog(7), makedevice(D3)
IRIX Device Driver Programmer's Guide
Page 1