store.c File Reference

#include "gis.h"
#include <string.h>

Include dependency graph for store.c:

Go to the source code of this file.

Functions

char * G_store (char *s)
 copy string to allocated memory


Function Documentation

char* G_store ( char *  s  ) 

copy string to allocated memory

This routine allocates enough memory to hold the string s, copies s to the allocated memory, and returns a pointer to the allocated memory.

Parameters:
s 
Returns:
char *

Definition at line 16 of file store.c.

References G_malloc().

Referenced by G__get_window(), G__home(), G__open_cell_old(), G__set_gisrc_file(), G__tempfile(), G_available_mapsets(), G_fully_qualified_name(), G_get_cell_title(), G_get_dig_title(), G_get_sites_title(), G_parser(), G_putenv(), G_set_ask_return_msg(), G_set_d_raster_cat(), G_set_program_name(), G_set_raster_cats_fmt(), G_set_raster_cats_title(), G_tokenize(), and G_whoami().


Generated on Sat Jul 22 22:06:37 2006 for GRASS by  doxygen 1.4.7