1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifndef lint
   8: static char sccsid[] = "@(#)zermat.c	5.1 (Berkeley) 4/26/85";
   9: #endif not lint
  10: 
  11: /*
  12:  * zermat: set a matrix to all zeros
  13:  */
  14: 
  15: #include "bit.h"
  16: 
  17: zermat(m, rows, cols)
  18: bitmat m;
  19: int rows, cols;
  20: {
  21:     register int size = ((cols + 7) >> 3) * rows;
  22:     register char *p;
  23: 
  24:     for (p = &m[size]; p>=m; )
  25:         *--p = 0;
  26: }

Defined functions

zermat defined in line 17; used 1 times

Defined variables

sccsid defined in line 8; never used
Last modified: 1987-02-22
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1959
Valid CSS Valid XHTML 1.0 Strict