add {strcat,strcmp,strcpy}n.c; they aren't Sys V routines, they're
[unix-history] / usr / src / lib / libcompat / 4.1 / reset.c
CommitLineData
67e373cc
SL
1/* reset.c 4.1 83/06/30 */
2
3/*
4 * Backwards compatible setexit/reset.
5 */
6#include <setjmp.h>
7
8static jmp_buf save;
9
10setexit()
11{
12
13 return (setjmp(save));
14}
15
16reset(x)
17{
18
19 longjmp(save, x);
20}