GRASS 8 Programmer's Manual
8.6.0dev(2026)-1878fdfec5
Loading...
Searching...
No Matches
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
* SPDX-FileCopyrightText: 2001-2009 GRASS Development Team
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*
9
* \author Original author CERL
10
*/
11
12
#include <
string.h
>
13
#include <
grass/gis.h
>
14
15
/*!
16
* \brief Zero out a buffer, <b>buf</b>, of length <b>i</b>.
17
*
18
* \param[out] buf
19
* \param i number of bytes to be zeroed
20
*/
21
void
G_zero
(
void
*buf,
int
i)
22
{
23
memset
(buf, 0, i);
24
}
AMI_STREAM
Definition
ami_stream.h:153
G_zero
void G_zero(void *buf, int i)
Zero out a buffer, buf, of length i.
Definition
gis/zero.c:21
gis.h
string.h
lib
gis
zero.c
Generated on Wed Sep 9 2026 06:57:43 for GRASS 8 Programmer's Manual by
1.9.8