Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> (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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: