apio 743aedcd49 libc: Implement atexit() and _exit()
exit() now calls registered handlers before calling _exit().

And initialize_libc() can now register a handler to close stdout and stderr on program termination!! :)
2022-10-12 20:41:55 +02:00
..
2022-10-12 15:37:29 +02:00
2022-10-12 19:25:35 +02:00
2022-10-12 11:57:49 +02:00
2022-10-12 11:54:29 +02:00
2022-10-12 20:19:13 +02:00
2022-10-12 20:41:55 +02:00
2022-10-12 20:41:55 +02:00