Home
last modified time | relevance | path

Searched refs:PIPE_READ (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
D2-1.c38 #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()
D2-2.c35 #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/
D2-1.c35 #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/
Ddirect_api.c59 #define PIPE_READ 0 macro
796 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
817 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
822 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
833 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()
834 input_fd[PIPE_READ] = -1; in semanage_pipe_data()
867 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
871 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
872 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
879 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
[all …]