Back to index

tetex-bin  3.0
Functions
basics.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>

Go to the source code of this file.

Functions

void fatal (char *fmt,...)
void msg (char *fmt,...)

Function Documentation

void fatal ( char *  fmt,
  ... 
)

Definition at line 17 of file basics.c.

{  va_list args;

   va_start(args, fmt);
   vfprintf(stderr, fmt, args);
   va_end(args);
   exit(1);
}

Here is the call graph for this function:

void msg ( char *  fmt,
  ... 
)

Definition at line 27 of file basics.c.

{  va_list args;

   va_start(args, fmt);
   vfprintf(stderr, fmt, args);
   fflush(stderr);
   va_end(args);
}

Here is the call graph for this function:

Here is the caller graph for this function: