Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcl_sleep(3tcl) [opensolaris man page]

Tcl_Sleep(3TCL) 					      Tcl Library Procedures						   Tcl_Sleep(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_Sleep - delay execution for a given number of milliseconds SYNOPSIS
#include <tcl.h> Tcl_Sleep(ms) ARGUMENTS
int ms (in) Number of milliseconds to sleep. _________________________________________________________________ DESCRIPTION
This procedure delays the calling process by the number of milliseconds given by the ms parameter and returns after that time has elapsed. It is typically used for things like flashing a button, where the delay is short and the application needn't do anything while it waits. For longer delays where the application needs to respond to other events during the delay, the procedure Tcl_CreateTimerHandler should be used instead of Tcl_Sleep. KEYWORDS
sleep, time, wait ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_Sleep(3TCL)

Check Out this Related Man Page

Tcl_PutEnv(3TCL)					      Tcl Library Procedures						  Tcl_PutEnv(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_PutEnv - procedures to manipulate the environment SYNOPSIS
#include <tcl.h> int Tcl_PutEnv(string) ARGUMENTS
CONST char *string (in) Info about environment variable in the form NAME=value. The string argument is in the system encoding. _________________________________________________________________ DESCRIPTION
Tcl_PutEnv sets an environment variable. The information is passed in a single string of the form NAME=value. This procedure is intended to be a stand-in for the UNIX putenv system call. All tcl-based applications using putenv should redefine it to Tcl_PutEnv so that they will interface properly to the Tcl runtime. KEYWORDS
environment, variable ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_PutEnv(3TCL)
Man Page

8 More Discussions You Might Find Interesting

1. Programming

Introducing Delay less then a second.

Hi, I have a doubt in introducing a delay in the programs. We know that we do have a sleep() function/api using which we can bring a delay in terms of seconds. A minimum delay can be atleast 1 second. Now I'm bothered about how to introduce a delay that is just less than a second. Like... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies

2. UNIX for Dummies Questions & Answers

UNIX Command for flashing????

What's the command to show text on any Xwindow that makes the text flashing / blinking ??? (1 Reply)
Discussion started by: rwunwla
1 Replies

3. Programming

Delay a process.

How to delay a process. I need to to delay a process from 3sec. At that 3sec other back ground processes also should stop. (just sit 3sec for idle & then starts execution as normally) I use sleep(3)-But it not stop the bg processes I try to use loop but it not gurantee to wait 3sec. ... (2 Replies)
Discussion started by: ugp
2 Replies

4. Shell Programming and Scripting

how to use sleep comand for milliseconds?

how to use sleep comand for milliseconds? (3 Replies)
Discussion started by: brkavi_in
3 Replies

5. UNIX for Dummies Questions & Answers

flashing cursor

I am running a psychology experiment with a UNIX shell script as a front end. This precedes each trial: echo -e "\n\n\n ***Ready***" sleep 1 clear Is there a way to get rid of the flashing cursor after the clear command has been executed or another command I could use instead? It is a... (0 Replies)
Discussion started by: darwin_886
0 Replies

6. Solaris

Process execution time in milliseconds

Hey everyone, I'm coming from Linux where the top command gave me lots of process info (particularly CPU time in milliseconds) and I'm trying to find similar info in Solaris. So far I've looked at prstat and ps but neither give cpu time in milliseconds, both seem to have 1 second... (2 Replies)
Discussion started by: maniac_ie
2 Replies

7. Shell Programming and Scripting

How do I do a short delay (milliseconds) in a shell script?

I need to put a small delay into a shell script. I'm looking for something smaller than "sleep" - a second is way too long. I want to sleep something like 10 milliseconds. I've tried "usleep" and "nanosleep", but the script doesn't recognize them. I'm using the bash shell but I'm willing to... (9 Replies)
Discussion started by: harmlesscat
9 Replies

8. Programming

Sleep function not detected

Hello Im using geany to write my c codes. Below is my code to make the internal LED of beaglebone flashing. But i cant seem to use the sleep or delay to make the program wait for a couple of miliseconds. I've included all include files that i can find but none of it solve the problem. Any help is... (1 Reply)
Discussion started by: HellRyder
1 Replies