|
|
1.1 ! root 1: /*** ! 2: *setjmp.h - definitions/declarations for setjmp/longjmp routines ! 3: * ! 4: * Copyright (c) 1985-1987, 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: #ifndef NO_EXT_KEYS /* extensions enabled */ ! 15: #define _CDECL cdecl ! 16: #else /* extensions not enabled */ ! 17: #define _CDECL ! 18: #endif /* NO_EXT_KEYS */ ! 19: ! 20: ! 21: /* define the buffer type for holding the state information */ ! 22: ! 23: #define _JBLEN 9 /* bp, di, si, sp, ret addr, ds */ ! 24: ! 25: #ifndef _JMP_BUF_DEFINED ! 26: typedef int jmp_buf[_JBLEN]; ! 27: #define _JMP_BUF_DEFINED ! 28: #endif ! 29: ! 30: ! 31: /* function prototypes */ ! 32: ! 33: int _CDECL setjmp(jmp_buf); ! 34: 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.