fds 158 user/grind.c int fds[2]; fds 159 user/grind.c if(pipe(fds) < 0){ fds 167 user/grind.c if(write(fds[1], "x", 1) != 1) fds 170 user/grind.c if(read(fds[0], &c, 1) != 1) fds 177 user/grind.c close(fds[0]); fds 178 user/grind.c close(fds[1]); fds 60 user/usertests.c int fds[2]; fds 61 user/usertests.c if(pipe(fds) < 0){ fds 65 user/usertests.c n = write(fds[1], (char*)addr, 8192); fds 70 user/usertests.c close(fds[0]); fds 71 user/usertests.c close(fds[1]); fds 98 user/usertests.c int fds[2]; fds 99 user/usertests.c if(pipe(fds) < 0){ fds 103 user/usertests.c n = write(fds[1], "x", 1); fds 108 user/usertests.c n = read(fds[0], (void*)addr, 8192); fds 113 user/usertests.c close(fds[0]); fds 114 user/usertests.c close(fds[1]); fds 741 user/usertests.c int fds[2], pid, xstatus; fds 745 user/usertests.c if(pipe(fds) != 0){ fds 752 user/usertests.c close(fds[0]); fds 756 user/usertests.c if(write(fds[1], buf, SZ) != SZ){ fds 763 user/usertests.c close(fds[1]); fds 766 user/usertests.c while((n = read(fds[0], buf, cc)) > 0){ fds 782 user/usertests.c close(fds[0]); fds 2178 user/usertests.c int fds[2]; fds 2184 user/usertests.c if(pipe(fds) != 0){ fds 2192 user/usertests.c write(fds[1], "x", 1); fds 2197 user/usertests.c read(fds[0], &scratch, 1); fds 3007 user/usertests.c int fds[2]; fds 3009 user/usertests.c if(pipe(fds) < 0){ fds 3022 user/usertests.c close(fds[0]); fds 3034 user/usertests.c if(write(fds[1], "x", 1) != 1){ fds 3043 user/usertests.c close(fds[1]); fds 3048 user/usertests.c int cc = read(fds[0], &c, 1); fds 3058 user/usertests.c close(fds[0]);