failtest: use high-numbers file descriptors to stay out of the way.
We use file descriptors inside failtest; use dup2 to try to avoid changing the file descriptor numbers used in the program (particularly when programs mess with invalid file descriptors, they're likely to still be invalid).
Showing
Please register or sign in to comment