📄 sleep.3
字号:
'\"'\" Copyright (c) 1990 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: @(#) Sleep.3 1.3 96/03/25 20:07:21'\" .so man.macros.TH Tcl_Sleep 3 7.5 Tcl "Tcl Library Procedures".BS.SH NAMETcl_Sleep \- delay execution for a given number of milliseconds.SH SYNOPSIS.nf\fB#include <tcl.h>\fR.sp\fBTcl_Sleep\fR(\fIms\fR).SH ARGUMENTS.AP int ms inNumber of milliseconds to sleep..BE.SH DESCRIPTION.PPThis procedure delays the calling process by the number ofmilliseconds given by the \fIms\fR parameter and returnsafter that time has elapsed. It is typically used for thingslike flashing a button, where the delay is short and theapplication needn't do anything while it waits. For longerdelays where the application needs to respond to other eventsduring the delay, the procedure \fBTcl_CreateTimerHandler\fRshould be used instead of \fBTcl_Sleep\fR..SH KEYWORDSsleep, time, wait
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -