*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> fdetach (8)              
Title
Content
Arch
Section
 

fdetach(8)

Contents


NAME    [Toc]    [Back]

       fdetach  - Detaches a STREAMS-based file descriptor from a
       file

SYNOPSIS    [Toc]    [Back]

       /usr/bin/fdetach path

DESCRIPTION    [Toc]    [Back]

       The  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  associated
  with the file by a prior program call, typically the
       fattach()|*O function.

       When this command is successful, it causes all path  names
       that  named  the  attached  STREAMS file to again name the
       file to which the STREAMS file was attached.   All  subsequent
 operations on the file pointed to by thepath 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.

EXAMPLES    [Toc]    [Back]

       To  detach  the  file  descriptor  for  the  STREAMS  file
       /tmp/streamfile  from  its  associated  file  system node,
       enter: fdetach /tmp/streamfile

FILES    [Toc]    [Back]

       Specifies the command path.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: fattach(3), fdetach(3).

       Files: ffm(4), streamio(7)



                                                       fdetach(8)
[ Back ]
 Similar pages
Name OS Title
fattach Tru64 Attach a STREAMS-based file descriptor to a file in the file system name space
fdetach Tru64 Detach a STREAMS-based file descriptor from a file in the file system name space
fdetach IRIX detach a name from a STREAMS-based file descriptor
fdetach IRIX detach a name from a STREAMS-based file descriptor
fdetach HP-UX detach a STREAMS-based file descriptor from a filename
fattach IRIX attach a STREAMS-based file descriptor to an object in the filesystem name space
isastream Tru64 Determine if a file descriptor refers to a STREAMS file
pxfisatty IRIX Determines if file descriptor corresponds to a valid file descriptor
AFopenfile IRIX allocate an AFfilehandle structure for an audio file identified by name / by a Unix file descriptor
AFidentifyfd IRIX retrieve the audio file format of a file descriptor / open AFfilehandle
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service