GRASS Programmer's Manual  6.4.4(2014)-r
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 }
char * G_store(const char *s)
Copy string to allocated memory.
Definition: store.c:32