Duplicating a descriptor makes a second descriptor point to the same open file description: dup(fd) uses the lowest free number, and dup2(fd, target) uses target, closing first whatever it pointed to.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表