Annotation of researchv10no/cmd/btree/prelim.c, revision 1.1.1.1

1.1       root        1: #include "stdio.h"
                      2: char line[129];
                      3: main()
                      4: {      unsigned short n;
                      5:        for(;;) {
                      6:                fgets(line, sizeof(line), stdin);
                      7:                if(feof(stdin))
                      8:                        break;
                      9:                n = strlen(line);
                     10:                n--;
                     11:                fwrite(&n, 1, sizeof(n), stdout);
                     12:                fwrite(line, 1, n, stdout);
                     13:                n = 0;
                     14:                fwrite(&n, 1, sizeof(n), stdout);
                     15:        }
                     16: }
                     17: static struct D { struct D *a; char *b;} VER = {&VER,"\n81/4/8:prelim.c\n"};
                     18: /*1011011100100111*/

unix.superglobalmegacorp.com

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