GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71933
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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 _, fclose(), G__write_Cell_head(), G_fatal_error(), and G_fopen_new().