store.c

Go to the documentation of this file.
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 }

Generated on Wed Dec 19 14:59:06 2007 for GRASS by  doxygen 1.5.4