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

📄 crtclosehdlr.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" 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: @(#) CrtCloseHdlr.3 1.7 96/04/15 13:08:19.so man.macros.TH Tcl_CreateCloseHandler 3 7.5 Tcl "Tcl Library Procedures".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMETcl_CreateCloseHandler, Tcl_DeleteCloseHandler \- arrange for callbacks when channels are closed.SH SYNOPSIS.nf\fB#include <tcl.h>\fR.spvoid\fBTcl_CreateCloseHandler\fR(\fIchannel, proc, clientData\fR).spvoid\fBTcl_DeleteCloseHandler\fR(\fIchannel, proc, clientData\fR).sp.SH ARGUMENTS.AS Tcl_CloseProc callbackData in.AP Tcl_Channel channel inThe channel for which to create or delete a close callback..AP Tcl_CloseProc *proc inThe procedure to call as the callback..AP ClientData clientData inArbitrary one-word value to pass to \fIproc\fR..BE.SH DESCRIPTION.PP\fBTcl_CreateCloseHandler\fR arranges for \fIproc\fR to be called when\fIchannel\fR is closed with \fBTcl_Close\fR or\fBTcl_UnregisterChannel\fR, or using the Tcl \fBclose\fR command.\fIProc\fR should match the following prototype:.PP.CStypedef void Tcl_CloseProc(	ClientData \fIclientData\fR);.CE.PPThe \fIclientData\fR is the same as the value provided in the call to\fBTcl_CreateCloseHandler\fR..PP\fBTcl_DeleteCloseHandler\fR removes a close callback for \fIchannel\fR.The \fIproc\fR and \fIclientData\fR identify which close callback toremove; \fBTcl_DeleteCloseHandler\fR does nothing if its \fIproc\fR and\fIclientData\fR arguments do not match the \fIproc\fR and \fIclientData\fRfor a  close handler for \fIchannel\fR..SH "SEE ALSO"close(n), Tcl_Close(3), Tcl_UnregisterChannel(3).SH KEYWORDScallback, channel closing

⌨️ 快捷键说明

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