Changeset d5a89a3 in mainline for uspace/lib/c/include/setjmp.h
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/setjmp.h
re3272101 rd5a89a3 31 31 */ 32 32 33 #ifndef LIBC_SETJMP_H_34 #define LIBC_SETJMP_H_33 #ifndef _LIBC_SETJMP_H_ 34 #define _LIBC_SETJMP_H_ 35 35 36 36 #ifdef __cplusplus … … 41 41 #include <_bits/__noreturn.h> 42 42 43 typedef context_t jmp_buf[1];43 typedef __context_t jmp_buf[1]; 44 44 45 extern int __ setjmp(jmp_buf) __attribute__((returns_twice));46 extern __noreturn void __ longjmp(jmp_buf, int);45 extern int __context_save(__context_t *) __attribute__((returns_twice)); 46 extern __noreturn void __context_restore(__context_t *, int); 47 47 48 #define setjmp __ setjmp48 #define setjmp __context_save 49 49 extern __noreturn void longjmp(jmp_buf, int); 50 50
Note:
See TracChangeset
for help on using the changeset viewer.