How do I find the file descriptor that calls SIGPIPE?
1 answer
Take a look at this question and answer . Dietrich describes that if you ignore SIGPIPE, you will get EPIPE returned from the read or write function, and thus know the file descriptor that is encountering the error.
0
source to share