Content-type: text/html Man page of fdetach

fdetach

Section: Maintenance Commands (8)
Index Return to Main Contents
 

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 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.
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:32 GMT, October 02, 2010