summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/error.h
blob: c7b2cb397858fcb8fda31fef91a7bfcf7f335d27 (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, const char *text));