|
|
1.1 ! root 1: # include <ingres.h> ! 2: # include "IIglobals.h" ! 3: # include <sccs.h> ! 4: ! 5: SCCSID(@(#)IIpb_write.c 8.1 12/31/84) ! 6: ! 7: ! 8: /* ! 9: ** IIPB_WRITE -- Write pipe block ! 10: ** ! 11: ** Writes the block specified by ppb down to the PARSER ! 12: ** ! 13: ** Parameters: ! 14: ** ppb -- a ptr to the pipe block to write. ! 15: ** ! 16: ** Returns: ! 17: ** none ! 18: ** ! 19: ** Side Effects: ! 20: ** none ! 21: */ ! 22: ! 23: IIpb_write(ppb) ! 24: register pb_t *ppb; ! 25: { ! 26: register int i; ! 27: register int ofd; ! 28: ! 29: /* mark the block as coming from this process */ ! 30: ppb->pb_from = PB_FRONT; ! 31: ! 32: /* normal message */ ! 33: i = ppb->pb_proc; ! 34: IIpb_wphys(ppb, IIw_down); ! 35: ! 36: ! 37: /* reset some exciting pointers */ ! 38: ppb->pb_xptr = ppb->pb_data; ! 39: ppb->pb_nleft = PB_DBSIZE; ! 40: ppb->pb_nused = 0; ! 41: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.