/
Sapphire/bin/
Sapphire/db/
Sapphire/db/OLC_rooms/
Sapphire/db/abi/
Sapphire/db/em_src/
Sapphire/db/helps/
Sapphire/db/helps/emman/ifunc/
Sapphire/db/npcs/Tatt/
Sapphire/db/objects/Tatt/
Sapphire/db/q_data/
Sapphire/db/rooms/Tatt/
Sapphire/doc/
Sapphire/doc/em/
Sapphire/etc/
Sapphire/src/abic/
Sapphire/src/areacon/
Sapphire/src/client/
Sapphire/src/embc/
Sapphire/src/emi/
Sapphire/src/emi/test/
Sapphire/src/include/
Sapphire/src/sapphire/em/
Sapphire/src/tcon/
/*
 * Copyright (C) 1995-1997 Christopher D. Granz
 *
 * This header may not be removed.
 *
 * Refer to the file "License" included in this package for further
 * information and before using any of the following.
 */

#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>

#include "client.h"


/*
 * Functions
 */
void fatal( char *pFormat, ... )
{
    va_list vlArgs;
    char cBuf[1024];

    va_start( vlArgs, pFormat );
#ifdef _sysBSD
    vsnprintf( cBuf, 1024, pFormat, vlArgs );
#else
    vsprintf( cBuf, pFormat, vlArgs );
#endif
    fprintf( stderr, "%s\n", cBuf );
    va_end( vlArgs );
    exit( 1 );
}


/*
 * End of error.c
 */