GRASS Programmer's Manual  6.4.2(2012)
done_msg.c
Go to the documentation of this file.
00001 
00017 #include <stdarg.h>
00018 
00019 #include <grass/gis.h>
00020 #include <grass/glocale.h>
00021 
00029 int G_done_msg(const char *msg, ...)
00030 {
00031     char buffer[2000];
00032     va_list ap;
00033 
00034     va_start(ap, msg);
00035     vsprintf(buffer, msg, ap);
00036     va_end(ap);
00037 
00038     G_message(_("%s complete. %s"), G_program_name(), buffer);
00039 
00040     return 0;
00041 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines