Oi

Pode ser que ajude...

$man 3 usleep

NAME
       usleep - suspend execution for microsecond intervals

SYNOPSIS
       #include <unistd.h>

       void usleep(unsigned long usec);
       int usleep(unsigned long usec); /* SUSv2 */

DESCRIPTION
       The  usleep()  function  suspends execution of the calling
       process for usec microseconds.  The sleep may  be  length­
       ened  slightly by any system activity or by the time spent
       processing the call.

Abracos


[EMAIL PROTECTED] writes:
 > Oi pessoal.
 > 
 > Estou precisando encontrar uma funcao em C que faca o mesmo que a delay();
 > Se alguem souber de algum include ou mesmo uma funcao substituta, sera de
 > muita ajuda.
 > 
 > A necessidade que tenho eh para calcular 15 milisegundos. A funcao sleep()
 > nao me parece uma saida pois trabalha com inteiros e com segundos.
 > 
 > De qualquer forma obrigado
 > 
 > Irpauan Pascoal
 > 
 > 
 > 
 > -- 
 > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a