Annotation of 42BSD/ingres/source/iutil/acc_addbuf.c, revision 1.1.1.1

1.1       root        1: # include      <ingres.h>
                      2: # include      <access.h>
                      3: # include      <sccs.h>
                      4: 
                      5: SCCSID(@(#)acc_addbuf.c        7.1     2/5/81)
                      6: 
                      7: /*
                      8: **
                      9: */
                     10: 
                     11: acc_addbuf(bufs, cnt)
                     12: struct accbuf  bufs[];
                     13: int            cnt;
                     14: {
                     15:        register struct accbuf  *b, *end;
                     16: 
                     17:        b = bufs;
                     18:        end = &b[cnt -1];
                     19:        acc_init();
                     20: 
                     21:        for ( ; b <= end; b++)
                     22:        {
                     23:                b->bufstatus = 0;
                     24:                resetacc(b);
                     25:                Acc_tail->modf = b;
                     26:                b->modb = Acc_tail;
                     27:                b->modf = NULL;
                     28:                Acc_tail = b;
                     29:        }
                     30: }

unix.superglobalmegacorp.com

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