view usr/src/man/man1m/fdetach.1m @ 13659:57451298f940

1469 ttyc/ttyd should be an allowed console device Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
author Gary Mills <gary_mills@fastmail.fm>
date Thu, 05 Apr 2012 08:47:21 -0500
parents 5b2854ecc12d
children
line wrap: on
line source

'\" 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]
.TH FDETACH 1M "Jul 5, 1990"
.SH NAME
fdetach \- detach a name from a STREAMS-based file descriptor
.SH SYNOPSIS
.LP
.nf
\fBfdetach\fR \fIpath\fR
.fi

.SH DESCRIPTION
.sp
.LP
The \fBfdetach\fR command detaches a \fBSTREAMS-based\fR file descriptor from a
name in the file system. Use the \fIpath\fR operand to specify the path name of
the object in the file system name space, which was previously attached. See
\fBfattach\fR(3C).
.sp
.LP
The user must be the owner of the file or a user with the appropriate
privileges. All subsequent operations on \fIpath\fR will operate on the
underlying file system entry and not on the \fBSTREAMS\fR file. The permissions
and status of the entry are restored to the state they were in before the
\fBSTREAMS\fR file was attached to the entry.
.SH OPERANDS
.sp
.LP
The following operands are supported:
.sp
.ne 2
.na
\fB\fIpath\fR\fR
.ad
.RS 8n
Specifies the path name of the object in the file system name space, which was
previously attached.
.RE

.SH SEE ALSO
.sp
.LP
\fBfattach\fR(3C), \fBfdetach\fR(3C), \fBattributes\fR(5), \fBstreamio\fR(7I)
.sp
.LP
\fI\fR