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

/freebsd-10.2-release/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.c42 int cmdpipe[2]; variable
67 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0)
73 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0)
84 if (read(cmdpipe[READ_PIPE], cmdbuf, len) < 0)
91 if (read(cmdpipe[READ_PIPE], &type, sizeof(int)) < 0)
94 if (read(cmdpipe[READ_PIPE], &len, sizeof(int)) < 0)
119 read(cmdpipe[READ_PIPE], args[argslen],
165 sscanf(argv[1], "%d", &cmdpipe[0]);
166 sscanf(argv[2], "%d", &cmdpipe[1]);
H A Dcommands.c43 extern int cmdpipe[2];
/freebsd-10.2-release/contrib/netbsd-tests/lib/libcurses/director/
H A Ddirector.c57 int cmdpipe[2]; /* command pipe between director and slave */ variable
224 if (pipe(cmdpipe) < 0)
247 if (asprintf(&arg1, "%d", cmdpipe[0]) < 0)
250 if (asprintf(&arg2, "%d", cmdpipe[1]) < 0)
H A Dtestlang_parse.y51 extern int cmdpipe[2];
1436 if (write(cmdpipe[WRITE_PIPE], &send_type, sizeof(int)) < 0)
1443 if (write(cmdpipe[WRITE_PIPE], &len, sizeof(int)) < 0)
1451 if (write(cmdpipe[WRITE_PIPE], cmd, len) < 0)

Completed in 111 milliseconds