fis-gtm/sr_unix/gtm_putmsg.c

43 lines
1022 B
C
Raw Normal View History

/****************************************************************
* *
* Copyright 2001, 2012 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include <stdarg.h>
#include "util.h"
#include "gtmmsg.h"
#include "gtm_putmsg_list.h"
#include "gtmimagename.h"
/* WARNING: For chained error messages, all messages MUST be followed by an fao count;
* ======= zero MUST be specified if there are no parameters.
*/
void gtm_putmsg(int argcnt, ...)
{
va_list var;
VAR_START(var, argcnt);
gtm_putmsg_list(argcnt, var);
va_end(var);
util_out_print("",TRUE);
}
void gtm_putmsg_noflush(int argcnt, ...)
{
va_list var;
VAR_START(var, argcnt);
gtm_putmsg_list(argcnt, var);
va_end(var);
}