Código: Seleccionar todo
/* Accion cada X segundos By Sanko - C */
/* Uso -> delay(param) */
#include <stdio.h>
void delay(int time)
{
while(0<10)
{
sleep(time);
printf("hola sankito");
}
}
int main()
{
delay(3);
return 0;
}
PD : Testeado en gcc (Linux).