Changeset d2fa31f7 in mainline for uspace/lib/libc/include/setjmp.h
- Timestamp:
- 2008-03-15T08:48:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7397c73
- Parents:
- cbd6545f
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/setjmp.h
rcbd6545f rd2fa31f7 27 27 */ 28 28 29 /** @addtogroup libc ia3229 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef LIBC_ ia32_SETJMP_H_36 #define LIBC_ ia32_SETJMP_H_35 #ifndef LIBC_SETJMP_H_ 36 #define LIBC_SETJMP_H_ 37 37 38 #include <libarch/ types.h>38 #include <libarch/fibril.h> 39 39 40 typedef struct { 41 uint32_t ebx; 42 uint32_t esi; 43 uint32_t edi; 44 uint32_t ebp; 45 uint32_t esp; 46 uint32_t pc; 47 } jmp_buf; 40 typedef context_t jmp_buf; 48 41 49 int setjmp(jmp_buf env);50 void longjmp(jmp_buf env,int val) __attribute__((__noreturn__));42 extern int setjmp(jmp_buf env); 43 extern void longjmp(jmp_buf env,int val) __attribute__((__noreturn__)); 51 44 52 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.