GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-57a646b4a4
put_cellhd.c File Reference

Raster Library - Write raster header. More...

#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for put_cellhd.c:

Go to the source code of this file.

Functions

void Rast_put_cellhd (const char *name, struct Cell_head *cellhd)
 Writes the raster file header. More...
 

Detailed Description

Raster Library - Write raster header.

(C) 2001-2009 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
Original author CERL

Definition in file put_cellhd.c.

Function Documentation

◆ Rast_put_cellhd()

void Rast_put_cellhd ( const char *  name,
struct Cell_head cellhd 
)

Writes the raster file header.

Writes the cell file header information associated with map layer "map" into current mapset from the structure "cellhd".

Parameters
namename of map
cellhdstructure holding cell header info
Returns
void

Definition at line 28 of file put_cellhd.c.

References _, G__write_Cell_head(), G_fatal_error(), G_fopen_new(), and name.