zero.c

Go to the documentation of this file.
00001 #include <grass/dbmi.h>
00002 
00009 void db_zero(void *s, int n)
00010 {
00011     char *c = (char *)s;
00012 
00013     while (n-- > 0)
00014         *c++ = 0;
00015 }