Is it OK to use longjmp to break out of qsort?
In In the middle of qsort, is there a way to stop it? some comments mentioned using setjmp/longjmp
to break out of a call to qsort()
from the comparison function.
Is it OK to use longjmp to break out of qsort?
In In the middle of qsort, is there a way to stop it? some comments mentioned using setjmp/longjmp
to break out of a call to qsort()
from the comparison function.
Is it OK to use longjmp to break out of qsort?
In In the middle of qsort, is there a way to stop it? some comments mentioned using setjmp/longjmp
to break out of a call to qsort()
from the comparison function.