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