Searched refs:to_cs (Results 1 – 1 of 1) sorted by relevance
774 int to_cs[2], from_cs[2]; in cs_create_connection() local799 to_cs[0] = to_cs[1] = from_cs[0] = from_cs[1] = -1; in cs_create_connection()800 if (pipe(to_cs) < 0 || pipe(from_cs) < 0) in cs_create_connection()804 if (to_cs[0] != -1) in cs_create_connection()805 (void)close(to_cs[0]); in cs_create_connection()806 if (to_cs[1] != -1) in cs_create_connection()807 (void)close(to_cs[1]); in cs_create_connection()821 if (dup2(to_cs[0], STDIN_FILENO) == -1) in cs_create_connection()829 (void)close(to_cs[1]); in cs_create_connection()946 if ((csinfo[i].to_fp = fdopen(to_cs[1], "w")) == NULL) in cs_create_connection()[all …]