GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-2653d7b383
putenv.c File Reference

GIS library - environment routines. More...

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <grass/config.h>
#include <grass/gis.h>
Include dependency graph for putenv.c:

Go to the source code of this file.


void G_putenv (const char *name, const char *value)
 Sets the UNIX environment variable name to value. More...

Detailed Description

GIS library - environment routines.

(C) 2001-2009, 2011 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.

Original author CERL
Updated for GRASS7 by Glynn Clements

Definition in file putenv.c.

Function Documentation

◆ G_putenv()

void G_putenv ( const char *  name,
const char *  value 

Sets the UNIX environment variable name to value.

nameenv name
valueenv value

Definition at line 31 of file putenv.c.

References G_store(), and name.