11.2Sjoerg/*	$NetBSD: setjmp.h,v 1.2 2011/11/05 09:27:06 joerg Exp $	*/
21.1Schristos
31.1Schristos/*-
41.1Schristos * Copyright (c) 1990, 1993
51.1Schristos *	The Regents of the University of California.  All rights reserved.
61.1Schristos * (c) UNIX System Laboratories, Inc.
71.1Schristos * All or some portions of this file are derived from material licensed
81.1Schristos * to the University of California by American Telephone and Telegraph
91.1Schristos * Co. or Unix System Laboratories, Inc. and are reproduced herein with
101.1Schristos * the permission of UNIX System Laboratories, Inc.
111.1Schristos *
121.1Schristos * Redistribution and use in source and binary forms, with or without
131.1Schristos * modification, are permitted provided that the following conditions
141.1Schristos * are met:
151.1Schristos * 1. Redistributions of source code must retain the above copyright
161.1Schristos *    notice, this list of conditions and the following disclaimer.
171.1Schristos * 2. Redistributions in binary form must reproduce the above copyright
181.1Schristos *    notice, this list of conditions and the following disclaimer in the
191.1Schristos *    documentation and/or other materials provided with the distribution.
201.1Schristos * 3. Neither the name of the University nor the names of its contributors
211.1Schristos *    may be used to endorse or promote products derived from this software
221.1Schristos *    without specific prior written permission.
231.1Schristos *
241.1Schristos * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
251.1Schristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.1Schristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.1Schristos * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
281.1Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.1Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.1Schristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.1Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.1Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.1Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.1Schristos * SUCH DAMAGE.
351.1Schristos *
361.1Schristos *	@(#)setjmp.h	8.2 (Berkeley) 1/21/94
371.1Schristos */
381.1Schristos
391.1Schristos#ifndef _COMPAT_SETJMP_H_
401.1Schristos#define _COMPAT_SETJMP_H_
411.1Schristos
421.1Schristos__BEGIN_DECLS
431.2Sjoergint	__setjmp14(jmp_buf) __returns_twice;
441.2Sjoergvoid	__longjmp14(jmp_buf, int) __dead;
451.1Schristos
461.2Sjoergint	__sigsetjmp14(sigjmp_buf, int) __returns_twice;
471.2Sjoergvoid	__siglongjmp14(sigjmp_buf, int) __dead;
481.1Schristos__END_DECLS
491.1Schristos
501.1Schristos#endif /* !_COMPAT_SETJMP_H_ */
51