From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2005-12-12 22:14:29
Christopher Kohlhoff <chris_at_[hidden]> writes:
>> Yes, simply include the MSG_NOSIGNAL flag in the call to send or
> Unfortunately this flag doesn't seem to be available on Solaris, which
> does raise SIGPIPE too. It also doesn't work with writev.
I don't know about Solaris, but maybe SIGPIPE could be blocked only on
Solaris. Instead of using writev, you can use sendmsg on Linux.
-- Jeremy Maitin-Shepard