Lines Matching refs:pipefd
235 int pipefd[2]; in is_debugger_attached() local
237 if (pipe(pipefd) == -1) { in is_debugger_attached()
245 close(pipefd[0]); in is_debugger_attached()
246 close(pipefd[1]); in is_debugger_attached()
253 close(pipefd[1]); /* Close unused write end */ in is_debugger_attached()
254 read(pipefd[0], &buf, 1); in is_debugger_attached()
255 close(pipefd[0]); in is_debugger_attached()
266 close(pipefd[0]); in is_debugger_attached()
277 write(pipefd[1], "-", 1); in is_debugger_attached()
280 write(pipefd[1], "+", 1); in is_debugger_attached()
282 close(pipefd[1]); in is_debugger_attached()