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

  man pages->HP-UX 11i man pages -> fdetach (1m)              
Title
Content
Arch
Section
 

Contents


 fdetach(1M)                                                     fdetach(1M)




 NAME    [Toc]    [Back]
      fdetach - detach a STREAMS-based file descriptor from a filename

 SYNOPSIS    [Toc]    [Back]
      fdetach path

 DESCRIPTION    [Toc]    [Back]
      The fdetach 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 fattach() 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 fdetach command, the user must be superuser
      or must be the owner of the file and have write permission.

 RETURN VALUE    [Toc]    [Back]
      fdetach returns 0 (zero) on success.  If fdetach fails, it returns 1
      and prints a message to stderr.

 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]
      /usr/lib/nls/C/fdetach.cat              NLS catalog for fdetach.

 SEE ALSO    [Toc]    [Back]
      fattach(3C), fdetach(3C), streamio(7).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
fdetach IRIX detach a name from a STREAMS-based file descriptor
fdetach IRIX detach a name from a STREAMS-based file descriptor
fdetach Tru64 Detach a STREAMS-based file descriptor from a file in the file system name space
fattach IRIX attach a STREAMS-based file descriptor to an object in the filesystem name space
fattach Tru64 Attach a STREAMS-based file descriptor to a file in the file system name space
fdetach Tru64 Detaches a STREAMS-based file descriptor from a file
usclosepollsema IRIX detach a file descriptor from a pollable semaphore
isastream Tru64 Determine if a file descriptor refers to a STREAMS file
streampipes HP-UX force all pipes to be STREAMS-based
nstrpty HP-UX maximum number of STREAMS-based pseudo terminals (pts)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service