xref: /titanic_44/usr/src/man/man1m/fdetach.1m (revision 33f5ff17089e3a43e6e730bf80384c233123dbd9)
te
Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
FDETACH 1M "Jul 5, 1990"
NAME
fdetach - detach a name from a STREAMS-based file descriptor
SYNOPSIS

fdetach path
DESCRIPTION

The fdetach command detaches a STREAMS-based file descriptor from a name in the file system. Use the path operand to specify the path name of the object in the file system name space, which was previously attached. See fattach(3C).

The user must be the owner of the file or a user with the appropriate privileges. All subsequent operations on path will operate on the underlying file system entry and not on the STREAMS file. The permissions and status of the entry are restored to the state they were in before the STREAMS file was attached to the entry.

OPERANDS

The following operands are supported: path

Specifies the path name of the object in the file system name space, which was previously attached.

SEE ALSO

fattach(3C), fdetach(3C), attributes(5), streamio(7I)