我知道是什么dup/dup2做什么,但我不知道什么时候会被使用.
dup
dup2
任何实际的例子?
谢谢.
c unix file system-calls dup
c ×1
dup ×1
file ×1
system-calls ×1
unix ×1