summaryrefslogtreecommitdiffstats
path: root/doc/CrtTimerHdlr.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/CrtTimerHdlr.3')
-rw-r--r--doc/CrtTimerHdlr.311
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/CrtTimerHdlr.3 b/doc/CrtTimerHdlr.3
index c229a23..39702b1 100644
--- a/doc/CrtTimerHdlr.3
+++ b/doc/CrtTimerHdlr.3
@@ -4,7 +4,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH Tcl_CreateTimerHandler 3 7.5 Tcl "Tcl Library Procedures"
.so man.macros
.BS
@@ -30,6 +30,7 @@ Arbitrary one-word value to pass to \fIproc\fR.
Token for previously created timer handler (the return value
from some previous call to \fBTcl_CreateTimerHandler\fR).
.BE
+
.SH DESCRIPTION
.PP
\fBTcl_CreateTimerHandler\fR arranges for \fIproc\fR to be
@@ -48,12 +49,9 @@ are other pending events to process before the call to
.PP
\fIProc\fR should have arguments and return value that match
the type \fBTcl_TimerProc\fR:
-.PP
.CS
-typedef void \fBTcl_TimerProc\fR(
- ClientData \fIclientData\fR);
+typedef void Tcl_TimerProc(ClientData \fIclientData\fR);
.CE
-.PP
The \fIclientData\fR parameter to \fIproc\fR is a
copy of the \fIclientData\fR argument given to
\fBTcl_CreateTimerHandler\fR when the callback
@@ -70,7 +68,6 @@ has been invoked then \fBTcl_DeleteTimerHandler\fR does nothing.
The tokens returned by \fBTcl_CreateTimerHandler\fR never have
a value of NULL, so if NULL is passed to \fBTcl_DeleteTimerHandler\fR
then the procedure does nothing.
-.SH "SEE ALSO"
-after(n), Tcl_CreateFileHandler(3), Tcl_DoWhenIdle(3)
+
.SH KEYWORDS
callback, clock, handler, timer