1: # include "../ingres.h" 2: # include "../pipes.h" 3: # include "../tree.h" 4: # include "../symbol.h" 5: # include "decomp.h" 6: 7: 8: derror(eno) 9: { 10: extern struct pipfrmt Outpipe; 11: 12: endovqp(NOACK); 13: error(eno, 0); 14: if (eno == QBUFFULL) 15: clearpipe(); /* if overflow while reading pipe, flush the pipe */ 16: reinit(); 17: writeback(0); 18: reset(); 19: } 20: 21: 22: 23: clearpipe() 24: { 25: extern struct pipfrmt Inpipe; 26: 27: rdpipe(P_SYNC, &Inpipe, R_up); 28: }