Home
last modified time | relevance | path

Searched refs:ERROR_PIPE (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dhead.c143 if ((moved = sfmove(fp, NiL, skip, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_head()
148 if ((moved = sfmove(fp, sfstdout, keep, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR || in b_head()
149 …delim >= 0 && moved < keep && sfmove(fp, sfstdout, SF_UNBOUND, -1) < 0 && !ERROR_PIPE(errno) && er… in b_head()
H A Dtee.c198 …if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && !ERROR_PIPE(errno) && er… in b_tee()
H A Dcat.c542 if (n < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_cat()
H A DRELEASE3 12-05-31 cat,head,tee: use errno==EPIPE => ERROR_PIPE(errno)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Derror.h88 #define ERROR_PIPE(e) ((e)==EPIPE||(e)==ECONNRESET||(e)==EIO) macro
90 #define ERROR_PIPE(e) ((e)==EPIPE||(e)==EIO) macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c65 #ifndef ERROR_PIPE
67 #define ERROR_PIPE(e) ((e)==EPIPE||(e)==ECONNRESET||(e)==EIO) macro
69 #define ERROR_PIPE(e) ((e)==EPIPE||(e)==EIO) macro
1885 if(type==SF_WRITE && ERROR_PIPE(errno)) in slowexcept()
2229 else if(mode==SF_WRITE && ERROR_PIPE(errno)) in pipeexcept()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE18 12-05-31 error.h: add ERROR_PIPE(errno) to handle EPIPE and ECONNRESET