GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-060b32d572
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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_message
void G_message(const char *,...) __attribute__((format(printf
G_program_name
const char * G_program_name(void)
Return module name.
Definition:
progrm_nme.c:28
G_done_msg
void G_done_msg(const char *msg,...)
Print a final message.
Definition:
done_msg.c:28
gis.h
glocale.h
_
#define _(str)
Definition:
glocale.h:10
lib
gis
done_msg.c
Generated on Sat Mar 15 2025 07:34:58 for GRASS GIS 8 Programmer's Manual by
1.9.1