Searched refs:ERROR_PIPE (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | head.c | 143 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 D | tee.c | 198 …if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && !ERROR_PIPE(errno) && er… in b_tee()
|
H A D | cat.c | 542 if (n < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_cat()
|
H A D | RELEASE | 3 12-05-31 cat,head,tee: use errno==EPIPE => ERROR_PIPE(errno)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | error.h | 88 #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 D | io.c | 65 #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 D | RELEASE | 18 12-05-31 error.h: add ERROR_PIPE(errno) to handle EPIPE and ECONNRESET
|