GRASS GIS 8 Programmer's Manual
8.3.2(2024)-exported
Loading...
Searching...
No Matches
done_msg.c
Go to the documentation of this file.
1
/*!
2
* \file lib/gis/done_msg.c
3
*
4
* \brief GIS Library - Done message functions.
5
*
6
* (C) 2001-2014 by the GRASS Development Team
7
*
8
* This program is free software under the GNU General Public License
9
* (>=v2). Read the file COPYING that comes with GRASS for details.
10
*
11
* \author GRASS GIS Development Team
12
*
13
* \date 1999-2014
14
*/
15
16
#include <stdarg.h>
17
18
#include <grass/gis.h>
19
#include <grass/glocale.h>
20
21
/**
22
* \brief Print a final message.
23
*
24
* \param[in] msg string. Cannot be NULL.
25
* \return
26
*/
27
28
void
G_done_msg
(
const
char
*msg, ...)
29
{
30
char
buffer[2000];
31
va_list ap;
32
33
va_start(ap, msg);
34
vsprintf(buffer, msg, ap);
35
va_end(ap);
36
37
G_message
(_(
"%s complete. %s"
),
G_program_name
(), buffer);
38
}
G_done_msg
void G_done_msg(const char *msg,...)
Print a final message.
Definition
done_msg.c:28
G_message
void G_message(const char *msg,...)
Print a message to stderr.
Definition
gis/error.c:89
G_program_name
const char * G_program_name(void)
Return module name.
Definition
progrm_nme.c:28
gis
done_msg.c
Generated on Sat Nov 9 2024 17:44:25 for GRASS GIS 8 Programmer's Manual by
1.12.0