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

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


/* C_ERROR -- Post an error.
*/
void
c_error (
  int	errcode,		/* error code			*/
  char	*errmsg			/* error message		*/
)
{
	XINT  x_errcode = errcode;
	ERROR (&x_errcode, c_sppstr(errmsg));
}