9 extern int gz_open(FILE *compressed_file, int *pid)
13 if (pipe(unzip_pipe)!=0) {
14 error_msg("pipe error");
17 if ((*pid = fork()) == -1) {
18 error_msg("fork failured");
24 unzip(compressed_file, fdopen(unzip_pipe[1], "w"));
25 printf("finished unzipping\n");
27 fclose(compressed_file);
33 return(unzip_pipe[0]);