2 $ rm -rf temp_testdir_background
3 $ mkdir temp_testdir_background
4 $ cd temp_testdir_background
9 < #include <sys/types.h>
10 < #include <sys/stat.h>
19 < in = open("tmp_fich",O_RDONLY|O_CREAT);
21 < perror("Cannot open tmp_fich: ");
24 < while ((got = read(in,&buff,2048))>0) {
25 < int w = write(1,&buff,got);
27 < perror("Error while writing:");
32 < perror("Error while reading:");
37 $ mkfile delayed_cat.c
39 $ gcc -Wall -o delayed_cat delayed_cat.c
49 $ rm -rf temp_testdir_background