GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TCL_DELETECLOSEHANDLER (3)

NAME

Tcl_CreateCloseHandler, Tcl_DeleteCloseHandler - arrange for callbacks when channels are closed

CONTENTS

Synopsis
Arguments
Description
Keywords

SYNOPSIS

#include <tcl.h>

void Tcl_CreateCloseHandler(channel, proc, clientData)

void Tcl_DeleteCloseHandler(channel, proc, clientData)

ARGUMENTS


.TP 15 Tcl_Channel channel (in)
Tcl_Channelchannel Tcl_Channel The channel for which to create or delete a close callback.
.TP 15 Tcl_CloseProc *proc (in)
Tcl_CloseProc*proc Tcl_CloseProc The procedure to call as the callback.
.TP 15 ClientData clientData (in)
ClientDataclientData ClientData Arbitrary one-word value to pass to proc.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

Tcl_CreateCloseHandler arranges for proc to be called when channel is closed with Tcl_Close or Tcl_UnregisterChannel, or using the Tcl close command. Proc should match the following prototype:


typedef void Tcl_CloseProc(
        ClientData clientData);


The clientData is the same as the value provided in the call to Tcl_CreateCloseHandler.

Tcl_DeleteCloseHandler removes a close callback for channel. The proc and clientData identify which close callback to remove; Tcl_DeleteCloseHandler does nothing if its proc and clientData arguments do not match the proc and clientData for a close handler for channel.

SEE ALSO

close(n), Tcl_Close(3), Tcl_UnregisterChannel(3)

KEYWORDS

callback, channel closing
Search for    or go to Top of page |  Section 3 |  Main Index


Tcl TCL_CREATECLOSEHANDLER (3) 7.5

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.