PIPS
dialogue.c
Go to the documentation of this file.
1 /*
2 
3  $Id: dialogue.c 23065 2016-03-02 09:05:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 #ifdef HAVE_CONFIG_H
25  #include "pips_config.h"
26 #endif
27 /*
28  these versions of functions 'dialogue', 'message', ... are used to replaced
29  XView versions when a batch version of pips is compiled.
30 */
31 
32 #include <stdio.h>
33 #include <stdarg.h>
34 
35 /*VARARGS0*/
36 void dialogue(char* fmt, ...)
37 {
38  va_list args;
39 
40  va_start(args, fmt);
41  (void) vfprintf(stderr, fmt, args);
42  va_end(args);
43 }
44 
45 /*VARARGS0*/
46 void show_message(char *fmt, ...)
47 {
48  va_list args;
49 
50  va_start(args, fmt);
51  (void) vfprintf(stderr, fmt, args);
52  va_end(args);
53 }
void show_message(char *fmt,...)
ARARGS0.
Definition: dialogue.c:46
void dialogue(char *fmt,...)
these versions of functions 'dialogue', 'message', ...
Definition: dialogue.c:36