Query: fdetach
OS: osf1
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fdetach(8) System Manager's Manual fdetach(8)NAMEfdetach - Detaches a STREAMS-based file descriptor from a fileSYNOPSIS/usr/bin/fdetach pathDESCRIPTIONThe fdetach command dissociates a STREAMS-based file descriptor from a file, which is pointed to by the path parameter. The STREAMS-based file descriptor was associatedwith the file by a prior program call, typically the fattach()|*O function. When this cmmand is successful, all path names that named the attached STREAMS file to again name the file to which the STREAMS file was attached. All subsequent oprations on the file pointed to by the path parameter are performed on the underlying file and not on the STREAMS file. The permissions and status of the node are returned to the state that they were in before the STREAMS file was attached. Any other paths that the STREAMS file may be attached to are not affected. To successfully issue the fdetach command, the user must have the appropriate permissions or must be the owner of the file and have write permission.EXAMPLESTo detach the file descriptor for the STREAMS file /tmp/streamfile from its associated file system node, enter: fdetach /tmp/streamfileFILESSpecifies the command path.RELATED INFORMATIONFunctions: fattach(3), fdetach(3). Files: ffm(4) Interfaces: streamio(7). delim off fdetach(8)