4 ms·
> (I'm not however fond at all of longjmp) I don't think there is any justifiable reason to use setjmp/longjmp in modern C code. At best it's a crude imitation
by duskwuff 3y ago
> (I'm not however fond at all of longjmp)
I don't think there is any justifiable reason to use setjmp/longjmp in modern C code. At best it's a crude imitation of throw/catch semantics; if you really want that, C++ has a real implementation.