GRASS Programmer's Manual 6.4.1(2011)
|
GIS Library - String storage functions. More...
#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. |
GIS Library - String storage functions.
(C) 2001-2008 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.
Definition in file store.c.
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.
[in] | s | string |
Definition at line 32 of file store.c.
Referenced by G__get_window(), G__home(), G__ls(), 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_get_gdal_link(), 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().