18 #include <grass/gis.h> 
   39 int G_yes(
const char *question, 
int dflt)
 
   46         fprintf(stderr, 
"%s", question);
 
   49             fprintf(stderr, 
"(y/n) ");
 
   51                 fprintf(stderr, dflt == 0 ? 
"[n] " : 
"[y] ");
 
int G_yes(const char *question, int dflt)
Ask a yes/no question. 
 
int G_strip(char *buf)
Removes all leading and trailing white space from string.