GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-602118adcc
writ_zeros.c File Reference

GIS Library - Write zero functions. More...

#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for writ_zeros.c:

Go to the source code of this file.

Functions

void G_write_zeros (int fd, size_t n)
 Writes n bytes of zero to file descriptor fd More...
 

Detailed Description

GIS Library - Write zero functions.

(C) 2001-2014 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
GRASS GIS Development Team
Date
1999-2014

Definition in file writ_zeros.c.

Function Documentation

◆ G_write_zeros()

void G_write_zeros ( int  fd,
size_t  n 
)

Writes n bytes of zero to file descriptor fd

Parameters
[in]fdfile descriptor
[in]nnumber of bytes to write
Returns

Definition at line 30 of file writ_zeros.c.

References _, and G_fatal_error().