home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / libtex / bzero.c < prev    next >
C/C++ Source or Header  |  1990-07-10  |  351b  |  18 lines

  1. #ifndef lint
  2. static char rcsid[] = "$Header: /usr/src/local/tex/local/mctex/lib/RCS/bzero.c,v 3.1 89/08/22 21:42:12 chris Exp $";
  3. #endif
  4.  
  5. /*
  6.  * Sample bzero() routine.
  7.  * This should be rewritten to be as fast as possible for your
  8.  * machine.
  9.  */
  10. bzero(addr, count)
  11.     register char *addr;
  12.     register int count;
  13. {
  14.  
  15.     while (--count >= 0)
  16.         *addr++ = 0;
  17. }
  18.