1: # include "../pipes.h" 2: 3: /* 4: ** ENDJOB -- default end of job processing 5: ** 6: ** This routine is called on a clean exit from the system. It is 7: ** supposed to do any cleanup processing and the like. This copy 8: ** is a default version, which just returns zero. 9: ** 10: ** The value of end_job() is passed as the exit status, and should 11: ** normally be zero. 12: ** 13: ** Parameters: 14: ** none 15: ** 16: ** Returns: 17: ** exit status for process. 18: ** (zero for this dummy version). 19: ** 20: ** Side Effects: 21: ** as needed by user who redefines this, but none in 22: ** this copy. 23: ** 24: ** Called From: 25: ** rdpipe() 26: */ 27: 28: end_job() 29: { 30: return (0); 31: }