Searched refs:maybe_dup2 (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libwrap/
H A Doptions.c394 #define maybe_dup2(from, to) ((from == to) ? to : (close(to), dup(from))) macro
396 if (maybe_dup2(request->fd, 0) != 0 ||
397 maybe_dup2(request->fd, 1) != 1 ||
398 maybe_dup2(request->fd, 2) != 2) {

Completed in 16 milliseconds