The more general POV is that "setjmp" defines a continuation and "longjmp" invokes it.
While the most frequent use of explicit continuations is for implementing exceptions, you are right that there are many other programming techniques based on explicit continuations (for instance coroutines).