arosc.library: Centralized exit handling code in __arosc_startup.c
commit79f9dcb2893903a7f66d9256d86c52ba4982652b
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 9 Sep 2012 00:46:05 +0000 (9 00:46 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 9 Sep 2012 00:46:05 +0000 (9 00:46 +0000)
tree2a0c31b5d8a1758e278acb5e26025f66388685fd
parent0eeed904fe5ca06387e2808b269fea825bf4828b
arosc.library: Centralized exit handling code in __arosc_startup.c

* Added autodocs for __arosc_program_start() and __arosc_program_end()
* Added functions:
  * __arosc_set_errorptr()
  * __arosc_set_exitjmp()
  * __arosc_
* Use new functions to try to only access the aroscbase fields in __arosc_startup.c.
  __arosc_nixcmain.c is still left.
* Fixed regression in vfork() that access udata after it was freed (spank me).

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45756 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/clib/__arosc_startup.c
compiler/clib/__signal.c
compiler/clib/__vfork.c
compiler/clib/__vfork.h
compiler/clib/_exit.c
compiler/clib/abort.c
compiler/clib/arosc.conf
compiler/clib/exit.c
compiler/clib/include/sys/arosc.h