Annotation of researchv10no/cmd/visi/init.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  *      init.c 1.3
                      3:  *
                      4:  *     Initialization Module for Spreadsheet Program `vis'
                      5:  *
                      6:  *      A. F. Gettier
                      7:  *      Bell Laboratories
                      8:  *      Update made 11/1/82 11:11:58
                      9:  *      Retrieved 11/15/82 13:22:27
                     10:  */
                     11: #include       <stdio.h>
                     12: #include       "vis.h"
                     13: 
                     14: struct qheader Fixup, Depend;
                     15: 
                     16: struct rowhdr  Row;
                     17: struct colhdr  Col;
                     18: 
                     19: void pinit()
                     20: {
                     21:        Fixup.first = 0;
                     22:        Fixup.last = 0;
                     23:        Depend.first = 0;
                     24:        Depend.last = 0;
                     25:        Row.size = 0;
                     26:        Row.table = (struct rowlabel **)malloc((unsigned)4);
                     27:        Col.size = 0;
                     28:        Col.table = (struct collabel **)malloc((unsigned)4);
                     29: }

unix.superglobalmegacorp.com

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