Searched defs:pipefd (Results 1 - 3 of 3) sorted by relevance
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | sigpipe.c | 78 HFILE pipefd[2]; local 80 int pipefd[2]; 86 if (DosCreatePipe(&pipefd[0], &pipefd[1], 4096) != 0) { 88 if (pipe(pipefd) == -1) { 93 close(pipefd[0]); 95 rv = write(pipefd[1], &c, 1); 104 close(pipefd[1]);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxproces.c | 133 int pipefd[2]; member in struct:__anon17230 160 write(pr_wp.pipefd[1], "", 1); 511 rv = write(pr_wp.pipefd[1], "", 1); 817 fd = PR_ImportFile(pr_wp.pipefd[0]); 834 rv = read(pr_wp.pipefd[0], buf, sizeof(buf)); 893 rv = write(pr_wp.pipefd[1], "", 1); 973 rv = pipe(pr_wp.pipefd); 975 flags = fcntl(pr_wp.pipefd[0], F_GETFL, 0); 976 fcntl(pr_wp.pipefd[0], F_SETFL, flags | _PR_NBIO_FLAG); 977 flags = fcntl(pr_wp.pipefd[ [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ |
H A D | ptio.c | 4392 int pipefd[2]; local 4396 if (pipe(pipefd) == -1) 4402 fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 4403 fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 4404 *readPipe = pt_SetMethods(pipefd[0], PR_DESC_PIPE, PR_FALSE, PR_FALSE); 4407 close(pipefd[0]); 4408 close(pipefd[1]); 4411 *writePipe = pt_SetMethods(pipefd[1], PR_DESC_PIPE, PR_FALSE, PR_FALSE); 4415 close(pipefd[1]);
|
Completed in 59 milliseconds