diff options
author | EliteTK <tomasz.kramkowski@gmail.com> | 2014-02-26 01:24:20 +0000 |
---|---|---|
committer | EliteTK <tomasz.kramkowski@gmail.com> | 2014-02-26 01:24:20 +0000 |
commit | 41523df2b162a598ed3f668d7c36b901054b122b (patch) | |
tree | 5cc3b4a6bf250961b92def41d860d2526d6ff0cb /sleep.c | |
parent | fdd18abebe52d9610d6e613fa92aa376d422e41e (diff) | |
download | c-stuff-41523df2b162a598ed3f668d7c36b901054b122b.tar.gz c-stuff-41523df2b162a598ed3f668d7c36b901054b122b.tar.xz c-stuff-41523df2b162a598ed3f668d7c36b901054b122b.zip |
stuff
Diffstat (limited to 'sleep.c')
-rw-r--r-- | sleep.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#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"); +} |