Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最好是可移植的,但至少在 Linux 下,有没有办法确定两个文件描述符是否重复引用相同的打开文件描述?
简短的回答是否定的,这是不可能的。