/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SIGJMP_STRUCT_H
#define _SIGJMP_STRUCT_H
#ifdef __cplusplus
extern "C" {
#endif
#include <ucontext.h>
#include <setjmp.h>
#if defined(__sparc)
/*
* The following structure MUST match the ABI size specifier _SIGJBLEN.
* This is 19 (longs). The ABI value for _JBLEN is 12 (longs).
* A greg_t is a long. A sigset_t is 4 ints and a stack_t is 3 longs.
*
* The layout of this structure must match the layout of the same
* the layout is private, not known to applications.
*
* We make the first 5 members match the implementations of
* setjmp()/longjmp(), so that an application could (stupidly)
* do sigsetjmp(env) followed by longjmp(env) (but not setjmp(env)
* followed by siglongjmp(env)).
*/
typedef struct {
#if defined(_LP64)
#endif
#endif /* __sparc */
#ifdef __cplusplus
}
#endif
#endif /* _SIGJMP_STRUCT_H */