Annotation of 43BSD/ingres/source/gutil/clrmem.c, revision 1.1

1.1     ! root        1: # include      <sccs.h>
        !             2: 
        !             3: SCCSID(@(#)clrmem.c    8.1     12/31/84)
        !             4: 
        !             5: /*
        !             6: **  CLRMEM -- clear a block of memory
        !             7: **
        !             8: **     A block of memory is set to zero.  If we use assembly
        !             9: **     language, this can be potentially very fast.
        !            10: **
        !            11: **     Parameters:
        !            12: **             p -- a pointer to the area to be cleared.
        !            13: **             l -- the length of the area in bytes.
        !            14: **
        !            15: **     Returns:
        !            16: **             none
        !            17: **
        !            18: **     Side Effects:
        !            19: **             none
        !            20: **
        !            21: **     Trace Flags:
        !            22: **             none
        !            23: */
        !            24: 
        !            25: clrmem(p, l)
        !            26: register char  *p;
        !            27: register int   l;
        !            28: {
        !            29:        while (l-- > 0)
        !            30:                *p++ = 0;
        !            31: }

unix.superglobalmegacorp.com

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