Lines Matching refs:read_pipe
47 int parent_process(char *mqname, int read_pipe, int write_pipe, int child_pid);
48 int child_process(char *mqname, int read_pipe, int write_pipe);
49 int send_receive(int read_pipe, int write_pipe, char send, char *reply);
96 int parent_process(char *mqname, int read_pipe, int write_pipe, int child_pid)
108 rval = send_receive(read_pipe, write_pipe, 'a', &reply);
136 int child_process(char *mqname, int read_pipe, int write_pipe)
142 rval = send_receive(read_pipe, write_pipe, 0, &reply);
155 rval = send_receive(read_pipe, write_pipe, 'b', NULL);
160 int send_receive(int read_pipe, int write_pipe, char send, char *reply)
172 bytes = read(read_pipe, reply, 1);