Annotation of 3BSD/libF77/s_copy.c, revision 1.1.1.1

1.1       root        1: s_copy(a, b, la, lb)   /* assign strings:  a = b */
                      2: char *a, *b;
                      3: long int la, lb;
                      4: {
                      5: char *aend, *bend;
                      6: 
                      7: aend = a + la;
                      8: 
                      9: if(la <= lb)
                     10:        while(a < aend)
                     11:                *a++ = *b++;
                     12: 
                     13: else
                     14:        {
                     15:        bend = b + lb;
                     16:        while(b < bend)
                     17:                *a++ = *b++;
                     18:        while(a < aend)
                     19:                *a++ = ' ';
                     20:        }
                     21: }

unix.superglobalmegacorp.com

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