summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/error.h
blob: 4074126680e5766dead5a1140cdff0f92e5e4634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 1989 University of Maryland
 * Department of Computer Science.  All rights reserved.
 * Permission to copy for any purpose is hereby granted
 * so long as this copyright notice remains intact.
 */

/*
 * Errors.
 */

#include <stdarg.h>

void	error(int quit, int e, const char *fmt, ...);
void	panic(const char *fmt, ...);

void	SetErrorTrap(void (*fn)(int quit, char *text));