Searched defs:pipefd (Results 1 - 4 of 4) sorted by relevance
/systemd/src/import/ |
H A D | import-common.c | 74 _cleanup_close_pair_ int pipefd[2] = { -1, -1 }; local 81 if (pipe2(pipefd, O_CLOEXEC) < 0) 104 pipefd[1] = safe_close(pipefd[1]); 106 if (dup2(pipefd[0], STDIN_FILENO) != STDIN_FILENO) { 111 if (pipefd[0] != STDIN_FILENO) 112 pipefd[0] = safe_close(pipefd[0]); 144 pipefd[0] = safe_close(pipefd[ 154 _cleanup_close_pair_ int pipefd[2] = { -1, -1 }; local [all...] |
H A D | importd.c | 365 _cleanup_close_pair_ int pipefd[2] = { -1, -1 }; local 371 if (pipe2(pipefd, O_CLOEXEC) < 0) 400 pipefd[0] = safe_close(pipefd[0]); 402 if (dup2(pipefd[1], STDERR_FILENO) != STDERR_FILENO) { 416 if (dup2(pipefd[1], STDOUT_FILENO) != STDOUT_FILENO) { 422 if (pipefd[1] != STDOUT_FILENO && pipefd[1] != STDERR_FILENO) 423 pipefd[1] = safe_close(pipefd[ [all...] |
/systemd/src/test/ |
H A D | test-copy.c | 141 _cleanup_close_pair_ int pipefd[2] = {-1, -1}; local 151 assert_se(pipe2(pipefd, O_CLOEXEC) == 0); 153 r = copy_bytes(infd, pipefd[1], (uint64_t) -1, false); 156 r = read(pipefd[0], buf, sizeof(buf)); 166 r = copy_bytes(pipefd[0], pipefd[0], 1, false); 169 r = copy_bytes(pipefd[1], pipefd[1], 1, false); 172 r = copy_bytes(pipefd[1], infd, 1, false);
|
/systemd/src/shared/linux/ |
H A D | auto_dev-ioctl.h | 56 __s32 pipefd; member in struct:args_setpipefd
|
Completed in 23 milliseconds