aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/cerract.c
blob: a9c9cb2dc8465b336d07abda07091a28e0255807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/

#define	import_spp
#define	import_libc
#define	import_xnames
#include <iraf.h>


/* C_ERRACT -- Take an error action.  Typically called in an IFERR error
** handler to print a warning message or initiate error recovery after
** application specific cleanup actions have been taken.  The actions are
** defined in import_error
*/
void
c_erract (int action)
{
	XINT  x_action = action;

	ERRACT (&x_action);
}