aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/setjmp.h
blob: 46c3b5dfb0785af4cf82dbbcb7384640e1d8bd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <stdint.h>

struct _jmp_buf {
	uint32_t stuff[10];	// 40 bytes
};
typedef struct _jmp_buf jmp_buf;

int setjmp(jmp_buf env);

void longjmp(jmp_buf env, int val);


/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/