18 #include <grass/gis.h> 
   20 static const char *
name = 
"?";
 
void G_free(void *buf)
Free allocated memory. 
char * G_store(const char *s)
Copy string to allocated memory. 
char * G_basename(char *filename, const char *desired_ext)
Truncates filename to the base part (before the last '.') if it matches the extension, otherwise leaves it unchanged. 
const char * G_program_name(void)
return module name 
int G_set_program_name(const char *s)
int G_is_dirsep(char c)
Checks if a specified character is a valid directory separator character on the host system...