Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/Sleep.3 @ 25

Last change on this file since 25 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 1.1 KB
Line 
1'\"
2'\" Copyright (c) 1990 The Regents of the University of California.
3'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4'\"
5'\" See the file "license.terms" for information on usage and redistribution
6'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7'\"
8'\" RCS: @(#) $Id: Sleep.3,v 1.6 2007/12/13 15:22:32 dgp Exp $
9'\"
10.so man.macros
11.TH Tcl_Sleep 3 7.5 Tcl "Tcl Library Procedures"
12.BS
13.SH NAME
14Tcl_Sleep \- delay execution for a given number of milliseconds
15.SH SYNOPSIS
16.nf
17\fB#include <tcl.h>\fR
18.sp
19\fBTcl_Sleep\fR(\fIms\fR)
20.SH ARGUMENTS
21.AS int ms
22.AP int ms in
23Number of milliseconds to sleep.
24.BE
25.SH DESCRIPTION
26.PP
27This procedure delays the calling process by the number of
28milliseconds given by the \fIms\fR parameter and returns
29after that time has elapsed.  It is typically used for things
30like flashing a button, where the delay is short and the
31application need not do anything while it waits.  For longer
32delays where the application needs to respond to other events
33during the delay, the procedure \fBTcl_CreateTimerHandler\fR
34should be used instead of \fBTcl_Sleep\fR.
35.SH KEYWORDS
36sleep, time, wait
Note: See TracBrowser for help on using the repository browser.