#include <grass/gis.h>
#include <string.h>
Go to the source code of this file.
Functions | |
char * | G_store (const char *s) |
copy string to allocated memory |
char* G_store | ( | const 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.
s |
Definition at line 16 of file store.c.
References G_malloc().
Referenced by G__get_window(), G__home(), G__open_cell_old(), G__read_Cell_head(), G__set_gisrc_file(), G__tempfile(), G_available_mapsets(), G_fully_qualified_name(), G_get_cell_title(), G_get_dig_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().