Manual Page Result
0
Command: fdetach | Section: 8 | Source: Digital UNIX | File: fdetach.8.gz
fdetach(8) System Manager's Manual fdetach(8)
NAME
fdetach - Detaches a STREAMS-based file descriptor from a filename
SYNOPSIS
fdetach path
DESCRIPTION
The fdetach command detaches, or dissociates, the file descriptor
(fildes) for a STREAMS file from its filename in the file system. The
path argument specifies the pathname of the object in the file system
name space on which the command operates. This pathname is the one
that was previously associated with the file descriptor by the fattach
function.
Operations will subsequently be made on the file system node, 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 af-
fected.
To successfully issue the fdetach command, the user must have the ap-
propriate permissions or must be the owner of the file and have write
permission.
EXAMPLES
To detach the file descriptor for the STREAMS file /tmp/streamfile from
its associated file system node, enter: fdetach /tmp/streamfile
FILES
Specifies the command path.
RELATED INFORMATION
Functions: fattach(3), fdetach(3).
Interfaces: streamio(7). delim off
fdetach(8)