40 lines
914 B
C
40 lines
914 B
C
/****************************************************************
|
|
* *
|
|
* Copyright 2001 Sanchez Computer Associates, 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. *
|
|
* *
|
|
****************************************************************/
|
|
|
|
/*
|
|
* gtcm_exit_ch.c ---
|
|
*
|
|
* Exit handler for the GTCM code.
|
|
*
|
|
*/
|
|
|
|
#include "mdef.h"
|
|
|
|
#include "error.h"
|
|
#include "gtcm.h"
|
|
#include "util.h" /* for util_out_print() prototype */
|
|
|
|
#ifndef lint
|
|
static char rcsid[] = "$Header: /cvsroot/fis-gtm/gtm/sr_unix_cm/gtcm_exit_ch.c,v 1.7 2013/10/23 03:49:31 tuskentower Exp $";
|
|
#endif
|
|
|
|
GBLREF int4 gtcm_exi_condition;
|
|
|
|
CONDITION_HANDLER(gtcm_exit_ch)
|
|
{
|
|
PRN_ERROR;
|
|
|
|
gtcm_exi_condition = SIGNAL;
|
|
|
|
gtcm_exit();
|
|
|
|
}
|