Query: fdetach
OS: hpux
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fdetach(1M) fdetach(1M)NAMEfdetach - detach a STREAMS-based file descriptor from a filenameSYNOPSISpathDESCRIPTIONThe command detaches or disassociates a file descriptor for an open STREAMS device or pipe from its filename in the file system. The path argument is the path that was previously associated with the file descriptor by the function. Operations on path will subsequently affect the file system node, not the STREAMS device or pipe. The permissions and status of the node are returned to the state that they were in before the STREAMS device or pipe was attached. Any other paths that the STREAMS device or pipe may be attached to are not affected. To successfully issue the command, the user must be superuser or must be the owner of the file and have write permission.RETURN VALUEreturns 0 (zero) on success. If fails, it returns 1 and prints a message toEXAMPLESTo detach the file descriptor for the STREAMS file from its associated file system node, enter:FILESNLS catalog forSEE ALSOfattach(3C), fdetach(3C), streamio(7). fdetach(1M)
Related Man Pages |
---|
fdetach(1m) - sunos |
fdetach(1m) - v7 |
fdetach(1m) - minix |
fdetach(1m) - freebsd |
fdetach(1m) - plan9 |
Similar Topics in the Unix Linux Community |
---|
broken pipe |
Find node of a command |
Free PowerShell Book - InfoQ.com |
file name from file descriptor |
write failed: Broken pipe |