time.sleep()
Aloysio Figueiredo
xpythonist at yahoo.com.br
Tue Mar 2 13:17:51 EST 2004
--- Bart Nessux <bart_nessux at hotmail.com> escreveu:
> Does standard C have anything like Python's time.sleep() function?
NAME
sleep - Sleep for the specified number of seconds
SYNOPSIS
#include <unistd.h>
unsigned int sleep(unsigned int seconds);
DESCRIPTION
sleep() makes the current process sleep until seconds have
elapsed or a signal arrives which is not ignored.
RETURN VALUE
Zero if the requested time has elapsed, or the number of seconds
left to sleep.
CONFORMING TO
POSIX.1
BUGS
sleep() may be implemented using SIGALRM; mixing calls to
alarm() and sleep() is a bad idea.
PS: may not work under windows...
______________________________________________________________________
Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html
More information about the Python-list
mailing list