dup2 function

int dup2(
  1. int oldfd,
  2. int newfd
)

Implementation

int dup2(int oldfd, int newfd) => platform.dup2(oldfd, newfd);