GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
gis/zero.c
Go to the documentation of this file.
1
/*!
2
* \file lib/gis/zero.c
3
*
4
* \brief GIS Library - Zeroing functions.
5
*
6
* (C) 2001-2009 by the GRASS Development Team
7
*
8
* This program is free software under the GNU General Public License
9
* (>=v2). Read the file COPYING that comes with GRASS for details.
10
*
11
* \author Original author CERL
12
*/
13
14
#include <string.h>
15
#include <
grass/gis.h
>
16
17
/*!
18
* \brief Zero out a buffer, <b>buf</b>, of length <b>i</b>.
19
*
20
* \param[out] buf
21
* \param i number of bytes to be zeroed
22
*/
23
void
G_zero
(
void
*buf,
int
i)
24
{
25
memset(buf, 0, i);
26
}
gis.h
G_zero
void G_zero(void *buf, int i)
Zero out a buffer, buf, of length i.
Definition:
gis/zero.c:23
lib
gis
zero.c
Generated on Mon May 31 2021 05:21:32 for GRASS GIS 7 Programmer's Manual by
1.8.13