The dup() and dup2() functions provide an alternative interface to the service provided by fcntl() using the F_DUPFD command. The call: fid = dup(fildes);.
確定! 回上一頁