|
|
1.1 root 1: /***
2: *setjmp.h - definitions/declarations for setjmp/longjmp routines
3: *
4: * Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
5: *
6: *Purpose:
7: * This file defines the machine-dependent buffer used by
8: * setjmp/longjmp to save and restore the program state, and
9: * declarations for those routines.
10: * [ANSI/System V]
11: *
12: *******************************************************************************/
13:
14:
15: /* define the buffer type for holding the state information */
16:
17: #define _JBLEN 9 /* bp, di, si, sp, ret addr, ds */
18:
19: #ifndef _JMP_BUF_DEFINED
20: typedef int jmp_buf[_JBLEN];
21: #define _JMP_BUF_DEFINED
22: #endif
23:
24:
25: /* function prototypes */
26:
27: int _cdecl setjmp(jmp_buf);
28: void _cdecl longjmp(jmp_buf, int);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.