⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 close.n

📁 linux系统下的音频通信
💻 N
字号:
'\"'\" Copyright (c) 1993 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) close.n 1.11 97/08/22 18:50:48'\" .so man.macros.TH close n 7.5 Tcl "Tcl Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMEclose \- Close an open channel..SH SYNOPSIS\fBclose \fIchannelId\fR.BE.SH DESCRIPTION.PPCloses the channel given by \fIchannelId\fR.  \fIChannelId\fR must be achannel identifier such as the return value from a previous \fBopen\fRor \fBsocket\fR command.All buffered output is flushed to the channel's output device,any buffered input is discarded, the underlying file or device is closed,and \fIchannelId\fR becomes unavailable for use..VS "" br.PPIf the channel is blocking, the command does not return until all outputis flushed.If the channel is nonblocking and there is unflushed output, thechannel remains open and the commandreturns immediately; output will be flushed in the background and thechannel will be closed when all the flushing is complete..VE.PPIf \fIchannelId\fR is a blocking channel for a command pipeline then\fBclose\fR waits for the child processes to complete..VS "" br.PPIf the channel is shared between interpreters, then \fBclose\fRmakes \fIchannelId\fR unavailable in the invoking interpreter but has noother effect until all of the sharing interpreters have closed thechannel.When the last interpreter in which the channel is registered invokes\fBclose\fR, the cleanup actions described above occur. See the\fBinterp\fR command for a description of channel sharing..PPChannels are automatically closed when an interpreter is destroyed andwhen the process exits.  Channels are switched to blocking mode, to ensurethat all output is correctly flushed before the process exits..VE.PPThe command returns an empty string, and may generate an error ifan error occurs while flushing output..SH KEYWORDSblocking, channel, close, nonblocking

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -