blob: ed4db4c620d07ce034724019e269a1df93d1557e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (C) 2014 Tomasz Kramkowski <tk@the-tk.com>
*
* This program is free software. It is licensed under version 3 of the
* GNU General Public License.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see [http://www.gnu.org/licenses/].
*/
#include<stdio.h>
#include<stdlib.h>
int main(void) {
printf("This is before the sleep.\n");
sleep(10);
printf("This is after the sleep and before the for loop.\n");
long i;
for(i = 0; i < 999999999999999; i++)
;
printf("This is after the for loop.\n");
}
|