Home | History | Annotate | Download | only in mq_close

Lines Matching refs:write_pipe

38 int parent_process(char *qname, int read_pipe, int write_pipe, int child_pid);
39 int child_process(char *qname, int read_pipe, int write_pipe);
41 int send_receive(int read_pipe, int write_pipe, char send, char *reply);
95 int parent_process(char *qname, int read_pipe, int write_pipe, int child_pid)
117 rval = send_receive(read_pipe, write_pipe, 'a', &reply);
138 rval = send_receive(read_pipe, write_pipe, 'c', &reply);
155 int child_process(char *qname, int read_pipe, int write_pipe)
163 rval = send_receive(read_pipe, write_pipe, 0, &reply);
184 rval = send_receive(read_pipe, write_pipe, 'b', &reply);
199 send_receive(read_pipe, write_pipe, rval ? 'e' : 'd', NULL);
216 int send_receive(int read_pipe, int write_pipe, char send, char *reply)
221 bytes = write(write_pipe, &send, 1);