Searched refs:PIPE_READ (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-1.c | 38 #define PIPE_READ 0 macro 83 close(to_parent[PIPE_READ]); in main() 85 return child_process(mqname, to_child[PIPE_READ], in main() 90 close(to_child[PIPE_READ]); in main() 91 return parent_process(mqname, to_parent[PIPE_READ], in main()
|
D | 2-2.c | 35 #define PIPE_READ 0 macro 78 close(to_parent[PIPE_READ]); in main() 80 return child_process(mqname, to_child[PIPE_READ], in main() 85 close(to_child[PIPE_READ]); in main() 86 return parent_process(mqname, to_parent[PIPE_READ], in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 35 #define PIPE_READ 0 macro 78 close(to_parent[PIPE_READ]); in main() 81 return child_process(qname, to_child[PIPE_READ], in main() 86 close(to_child[PIPE_READ]); in main() 88 return parent_process(qname, to_parent[PIPE_READ], in main()
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 61 #define PIPE_READ 0 macro 850 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data() 871 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data() 876 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data() 887 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data() 888 input_fd[PIPE_READ] = -1; in semanage_pipe_data() 921 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data() 925 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data() 926 output_fd[PIPE_READ] = -1; in semanage_pipe_data() 933 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data() [all …]
|