The exit() libc function already accepted an integer, but didn't pass it on to the kernel since we had no mechanism for it to do that. Now, the kernel stores a task's exit status to display it later (and in the future, return it to userspace via wait()/waitpid()) |
||
---|---|---|
.. | ||
include | ||
src | ||
crt0.asm | ||
crti.asm | ||
crtn.asm | ||
Makefile |