Sleep is a command-line utility that waits for a specified amount of time before returning. It does this by calling the operating system's "Sleep()" function. Sleep takes one parameter, the time to sleep in milliseconds. As an example:
sleep 5000
will sleep for 5 seconds.
None.
FreeWare.
sleep-1.0.zip (v1.0) is the first version.
Here's the C++ source.
// Copyright 2002, Ted Felix
// Feel free to use for whatever.
#include <stdlib.h>
#include <windows.h>
void main(int argc, char *argv[])
{
if (argc < 2)
return;
char *p;
long msec = strtol(argv[1], &p, 10);
Sleep(msec);
}
<- Back to SupaSoft.
Copyright ©2002, Ted Felix