00001 00017 #include <grass/gis.h> 00018 #include <string.h> 00019 00020 00032 char *G_store(const char *s) 00033 { 00034 char *buf; 00035 00036 buf = G_malloc(strlen(s) + 1); 00037 strcpy(buf, s); 00038 00039 return buf; 00040 }