summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/setjmp-fpu/_setjmp.c
blob: dba5d7259d38fb2a753252e80c292c9cf2e8aa3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: _setjmp.c,v 1.4 2020/01/13 14:58:38 bluhm Exp $	*/

int	test__setjmp(void);

int
main(int argc, char *argv[])
{
	return test__setjmp();
}

#define	SETJMP(env, savemask)	_setjmp(env)
#define	LONGJMP(env, val)	_longjmp(env, val)
#define	TEST_SETJMP		test__setjmp
#define	JMP_BUF			jmp_buf

#include "setjmp-fpu.c"