Lines Matching refs:read
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
142 if (read(rd, &msg, sizeof(msg)) != sizeof(msg)) {
143 debug("read/write on pipe");
148 debug("read/write on pipe");
316 read(p[procs-1][0], &msg, sizeof(msg)) != sizeof(msg)) {
317 debug("write/read/write on pipe");
413 debug("read/write on pipe");
416 if (read(ts->p[i][0], &msg, sizeof(msg)) != sizeof(msg)) {
417 debug("read/write on pipe");
622 debug("read/write on pipe");
625 if (read(ts->p[ts->procs-1][0], &msg, sizeof(msg)) != sizeof(msg)) {
626 debug("read/write on pipe");