F_DUP3FD
return (_fcntl(oldfd, F_DUP3FD | (fdflags << F_DUP3FD_SHIFT), newfd));
if ((cmd & ((1u << F_DUP3FD_SHIFT) - 1)) != F_DUP3FD)