Why use `sigsetjmp` instead of `setjmp` function in C?

Viewed 3751

Why might somebody choose to use sigsetjmp instead of setjmp in C?

I read in a book that there are some disadvantages in using setjmp with signal-related code, so the sigsetjmp function was implemented.

Can anybody explain this with an example?

Thanks in Advance.

1 Answers
Related