9 < #include <sys/types.h>
10 < #include <sys/stat.h>
14 < #define sleep _sleep
27 < if((in = open("tmp_fich",O_RDONLY|O_CREAT)) == -1){
28 < perror("Cannot open tmp_fich");
33 < if((got = read(in,&buff,2048)) == -1)
34 < perror("Error while reading");
35 < else if(got == 0 && tgot != 0)
46 < if((w = write(1, p , got)) < 0) {
47 < perror("Error while writing");
60 $ gcc -Wall -o delayed_cat delayed_cat.c