sleep.3
来自「tcl是工具命令语言」· 3 代码 · 共 38 行
3
38 行
'\"'\" 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.'\" '\" RCS: @(#) $Id: Sleep.3,v 1.2 1998/09/14 18:39:50 stanton Exp $'\" .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 + =
减小字号Ctrl + -
显示快捷键?