EPIPE
rv = EPIPE;
#ifdef EPIPE
case EPIPE : return 32;
if (errno == EPIPE)
errno = EPIPE;
return EPIPE;
if (error == EPIPE && (fp->f_flag & FNOSIGPIPE) == 0) {
if (error == EPIPE)
snderr(EPIPE);
snderr(EPIPE);
return (EPIPE);
if (error != EPIPE)
if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) {
if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) {
return EPIPE;
error = EPIPE;
if (error == EPIPE && bp->cnt == 0 && uio->uio_resid == 0)
error = SET_ERROR(EPIPE);
error = SET_ERROR(EPIPE);
error = SET_ERROR(EPIPE);
if (error == EPIPE && (fp->f_flag & FNOSIGPIPE) == 0 &&
snderr(EPIPE);
snderr(EPIPE);
error = EPIPE;
error = EPIPE;
error = EPIPE;
error = EPIPE;
error = EPIPE;
error = EPIPE;
if (error != EPIPE)
error = EPIPE;
if (!error || error == EPIPE || error == EWOULDBLOCK)
if (error != EPIPE)
error != EWOULDBLOCK && error != EPIPE &&
if (error == EPIPE)
#ifdef EPIPE
return EPIPE;
error = EPIPE;
#ifdef EPIPE
if (write(fd[1], (char[]){0}, 1) == -1 && errno != EPIPE)
if (write(fd[1], (char[]){0}, 1) == -1 && errno != EPIPE)
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_immediate_write(writefd, readfd, POLLOUT, EPIPE);
check_pollclosed_delayed_write(writefd, readfd, POLLOUT, EPIPE);
if (write(fds[1], "x", 1) != -1 || errno != EPIPE)
if (errno != EPIPE)
if (errno != EPIPE)
if (errno != EPIPE)
if (errno != EPIPE)
errno = EPIPE;
errno = EPIPE;
else if (errno == EPIPE)
case EPIPE:
if (e == EPIPE) {
if (e == EPIPE) {