Searched refs:comm_pipes (Results 1 – 1 of 1) sorted by relevance
108 struct comm_pipes { struct113 static int setup_comm_pipes(struct comm_pipes *comm_pipes) in setup_comm_pipes() argument115 if (pipe(comm_pipes->child_ready) < 0) in setup_comm_pipes()117 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes()118 close(comm_pipes->child_ready[0]); in setup_comm_pipes()119 close(comm_pipes->child_ready[1]); in setup_comm_pipes()126 static void close_comm_pipes(struct comm_pipes *comm_pipes) in close_comm_pipes() argument128 close(comm_pipes->child_ready[0]); in close_comm_pipes()129 close(comm_pipes->child_ready[1]); in close_comm_pipes()130 close(comm_pipes->parent_ready[0]); in close_comm_pipes()[all …]