Searched refs:SHF_ERROR (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/bin/ksh/
H A Dshf.h17 #define shf_error(shf) ((shf)->flags & SHF_ERROR)
18 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))
36 #define SHF_ERROR 0x0800 /* read()/write() error */ macro
H A Dshf.c287 if (shf->flags & SHF_ERROR) {
317 if (shf->flags & SHF_ERROR) {
357 shf->flags |= SHF_ERROR;
397 if (shf->flags & (SHF_EOF | SHF_ERROR)) {
398 if (shf->flags & SHF_ERROR)
419 shf->flags |= SHF_ERROR;
528 if ((shf->flags & SHF_ERROR) || c == EOF ||
572 if (shf->flags & SHF_ERROR) {
581 shf->flags |= SHF_ERROR;
648 shf->flags |= SHF_ERROR;
[all...]

Completed in 73 milliseconds