Relative Content

Tag Archive for linuxassemblyx86-64system-calls

What is the difference between the ‘signal’ system call between 32 and 64 bit on linux?

Context: a simple interpreter on linux x86.
I have a simple 32 bits interpreter and I catch all signals to restart and print a signon message, then continue. The user is probably testing and can decide if he wants to abort the interpreter or go on. If he typed ^C for example to cut a test loop short, it is probably okay to continue with the interpreter. Likewise divide-by-zero can restart a calculation with other parameters.