SO_NOSIGPIPE
#if defined(SO_NOSIGPIPE) && SOCK_NOSIGPIPE == 0
#if defined(SO_NOSIGPIPE) && SOCK_NOSIGPIPE == 0
(void)setsockopt(statp->_vcsock, SOL_SOCKET, SO_NOSIGPIPE, &on,
case SO_NOSIGPIPE:
case SO_NOSIGPIPE:
if (so->so_options & SO_NOSIGPIPE)
so->so_options |= SO_NOSIGPIPE;
so->so_options &= ~SO_NOSIGPIPE;
SO_NOSIGPIPE|SO_TIMESTAMP|SO_RERROR)
#if defined(SO_NOSIGPIPE) || defined(TCP_NOPUSH)
#ifdef SO_NOSIGPIPE
setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt));
CASERETURN(SO_NOSIGPIPE);
ret = setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &opt, sizeof(opt));