Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

sleep in c programming

#include <stdlib.h>
#include <stdio.h>
// this library provides sleep() function.
#include <unistd.h>
int main()
{  
	printf("sleeping");
	sleep(5);
	printf("
Woke up");  
}
Source by www.poftut.com #
 
PREVIOUS NEXT
Tagged: #sleep #programming
ADD COMMENT
Topic
Name
3+9 =