Exceptions: Difference between revisions

m
Line 39:
=={{header|C}}==
 
The setjmp()/longjmp() functions in the C standard library header <setjmp.h> isare typically used for exception handling.
 
===try-catch===
Line 48:
jmp_buf env;
 
void foo()
{
Anonymous user