18 lines
228 B
C
18 lines
228 B
C
|
/*use sleep*/
|
||
|
#include <unistd.h>
|
||
|
|
||
|
/*use printf*/
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
printf("main() Started...\n");
|
||
|
while(1)
|
||
|
{
|
||
|
printf("main() blub\n");
|
||
|
sleep(1);
|
||
|
}
|
||
|
printf("main() Done.\n");
|
||
|
return 0;
|
||
|
}
|