Annotation of 42BSD/ingres/source/libq/IIsync.c, revision 1.1

1.1     ! root        1: # include      <ingres.h>
        !             2: # include      <symbol.h>
        !             3: # include      "IIglobals.h"
        !             4: # include      <sccs.h>
        !             5: 
        !             6: SCCSID(@(#)IIsync.c    7.2     2/16/81)
        !             7: 
        !             8: 
        !             9: /*
        !            10: **     IIsync is called to syncronize the running
        !            11: **     of a query with the running of the equel process.
        !            12: **
        !            13: **     The query is flushed and an EOP is written
        !            14: **     to the quel parser.
        !            15: **
        !            16: **     The quel parser will write an end-of-pipe when
        !            17: **     an operation is complete.
        !            18: */
        !            19: 
        !            20: IIsync(file_name, line_no)
        !            21: char   *file_name;
        !            22: int    line_no;
        !            23: {
        !            24:        pb_t    pb;
        !            25: 
        !            26:        IIpb_flush(&IIpb);
        !            27:        if (IIproc_name = file_name)
        !            28:                IIline_no = line_no;
        !            29: 
        !            30: #      ifdef xETR1
        !            31:        if (IIdebug)
        !            32:                printf("IIsync\n");
        !            33: #      endif
        !            34: 
        !            35: 
        !            36:        IIerrflag = 0;  /* reset error flag. If an error occures,
        !            37:                        ** IIerrflag will get set in IIerror
        !            38:                        */
        !            39: 
        !            40:        IIpb_prime(&pb, PB_NOTYPE);
        !            41:        IIreadinput(&pb);
        !            42:        IInewqry = 0;
        !            43: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.