Searched refs:maybe_dup2 (Results 1 – 1 of 1) sorted by relevance
392 #define maybe_dup2(from, to) ((from == to) ? to : (close(to), dup(from))) macro394 if (maybe_dup2(request->fd, 0) != 0 ||395 maybe_dup2(request->fd, 1) != 1 ||396 maybe_dup2(request->fd, 2) != 2) {