00001 #include <grass/gis.h> 00002 #include <string.h> 00003 00004 00016 char *G_store (const char *s) 00017 00018 { 00019 char *buf; 00020 00021 buf = G_malloc (strlen(s) + 1); 00022 strcpy (buf, s); 00023 return buf; 00024 }