summaryrefslogtreecommitdiff
path: root/src/sys-setjmp.h
blob: 8e1c4b8b9638a1923da3652eb8f0875956ecfee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * sys-setjmp - wrap system setjmp or compiler C try/catch mechanism
 *
 * Copyright(c) 2022 Glenn Strauss gstrauss()gluelogic.com  All rights reserved
 * License: BSD 3-clause (same as lighttpd)
 */
#ifndef LI_SYS_SETJMP_H
#define LI_SYS_SETJMP_H
#include "first.h"

#ifndef _MSC_VER
void sys_setjmp_sigbus (int sig);
#endif

off_t sys_setjmp_eval3(off_t(*cb)(void *, const void *, off_t), void *dst, const void *src, off_t len);

#endif /* LI_SYS_SETJMP_H */