Lines Matching defs:sp
112 int sp[2], sock;119 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sp) < 0)134 close(sp[1]);136 if (sp[0] != 0) {137 if (dup2(sp[0], 0) < 0)140 if (sp[0] != 1) {141 if (dup2(sp[0], 1) < 0)144 if (sp[0] >= 2)145 close(sp[0]);167 close(sp[0]);170 if ((sock = mm_receive_fd(sp[1])) == -1)172 close(sp[1]);