Next: , Previous: , Up: Library Routines   [Contents]


3.8 tf_vmessage

Print a message to stderr using a stdargs argument list.

Synopsis

#include <tracefct/tracefct.h>

void tf_vmessage(
  const char *format,
  va_list args
);

Parameters

const char *format

a printf style string

va_list args

objects to print

Description

This function prints a user supplied message to stderr, prefixed by the standard tracefct style prefix string. The error message is passed in the same fashion as the arguments to vprintf. Note that vmessage expects a va_list to be passed, rather than a variable argument list. Unlike tf_exit, a newline character is not appended to the message.