Searched refs:slvpipe (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.2-release/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c44 extern int slvpipe[2];
123 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0)
137 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0)
140 if (write(slvpipe[WRITE_PIPE], &count, sizeof(int)) < 0)
173 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0)
176 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0)
179 if (write(slvpipe[WRITE_PIPE], status, len) < 0)
216 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0)
220 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0)
224 if (write(slvpipe[WRITE_PIP
[all...]
H A Dslave.c43 int slvpipe[2]; variable
167 sscanf(argv[3], "%d", &slvpipe[0]);
168 sscanf(argv[4], "%d", &slvpipe[1]);
/freebsd-10.2-release/contrib/netbsd-tests/lib/libcurses/director/
H A Ddirector.c58 int slvpipe[2]; /* reply pipe back from slave */ variable
227 if (pipe(slvpipe) < 0)
253 if (asprintf(&arg3, "%d", slvpipe[0]) < 0)
256 if (asprintf(&arg4, "%d", slvpipe[1]) < 0)
H A Dtestlang_parse.y52 extern int slvpipe[2];
900 fds[0].fd = slvpipe[READ_PIPE];
943 fds[0].fd = slvpipe[READ_PIPE];
946 fds[1].fd = slvpipe[WRITE_PIPE];
1473 rfd[0].fd = slvpipe[READ_PIPE];
1493 if (read(slvpipe[READ_PIPE], &type, sizeof(int)) < 0)
1498 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0)
1510 if (read(slvpipe[READ_PIPE], response->return_value, len) < 0)
1525 if (read(slvpipe[READ_PIPE], &len, sizeof(int)) < 0)

Completed in 54 milliseconds