GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
done_msg.c
Go to the documentation of this file.
1 
17 #include <stdarg.h>
18 
19 #include <grass/gis.h>
20 #include <grass/glocale.h>
21 
29 int G_done_msg(const char *msg, ...)
30 {
31  char buffer[2000];
32  va_list ap;
33 
34  va_start(ap, msg);
35  vsprintf(buffer, msg, ap);
36  va_end(ap);
37 
38  G_message(_("%s complete. %s"), G_program_name(), buffer);
39 
40  return 0;
41 }
int G_done_msg(const char *msg,...)
Print a final message.
Definition: done_msg.c:29
void G_message(const char *msg,...)
Print a message to stderr.
Definition: lib/gis/error.c:74
const char * G_program_name(void)
return module name
Definition: progrm_nme.c:33
tuple msg
Definition: wxnviz.py:32