Thiên Nhạc Tâm
New member
Can two processes have the same file descriptor?
Answer
File descriptors are generally unique to each process, but they
can be shared by child processes created with a fork subroutine or copied by the fcntl, dup, and dup2 subroutines.
Answer
File descriptors are generally unique to each process, but they
can be shared by child processes created with a fork subroutine or copied by the fcntl, dup, and dup2 subroutines.