Annotation of 42BSD/usr.lib/lib2648/zermat.c, revision 1.1

1.1     ! root        1: /*     zermat.c        4.1     83/03/09        */
        !             2: /*
        !             3:  * zermat: set a matrix to all zeros
        !             4:  */
        !             5: 
        !             6: #include "bit.h"
        !             7: 
        !             8: zermat(m, rows, cols)
        !             9: bitmat m;
        !            10: int rows, cols;
        !            11: {
        !            12:        register int size = ((cols + 7) >> 3) * rows;
        !            13:        register char *p;
        !            14: 
        !            15:        for (p = &m[size]; p>=m; )
        !            16:                *--p = 0;
        !            17: }

unix.superglobalmegacorp.com

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