3 ms·
I searched for longjmp and was pleased to see someone else brought it up first. Yes, you can longjmp from a signal handler back to standard execution flow. It i
by ridiculous_fish 3y ago
I searched for longjmp and was pleased to see someone else brought it up first. Yes, you can longjmp from a signal handler back to standard execution flow. It is even considered a "best practice" using readline!
https://stackoverflow.com/questions/16828378/readline-get-a-new-prompt-on-sigint https://stackoverflow.com/questions/16828378/readline-get-a-...