GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
store.c
Go to the documentation of this file.
1 
17 #include <grass/gis.h>
18 #include <string.h>
19 
20 
32 char *G_store(const char *s)
33 {
34  char *buf;
35 
36  buf = G_malloc(strlen(s) + 1);
37  strcpy(buf, s);
38 
39  return buf;
40 }