Re: [cc65] atexit() destructor priority

From: Oliver Schmidt <ol.sc1web.de>
Date: 2011-01-27 15:42:48
Hi Uz,

> It is probably an error. A document listing all destructors/constructors with
> priorities would be nice, so we can adjust them.

Here you go:


--> constructors <--

-> runtime:
initstkchk, 25

-> common:
initheap, 24
cwd_init
env_init

-> cbm:
initcurunit, 30
initstdin
initstdout

-> c64:
initmainargs, 24
initsystime

-> c128:
initmainargs, 24
initcgetc
initsystime

-> c16:
initmainargs, 24
initkbd

-> cbm510:
initmainargs, 24

-> cbm610:
initmainargs, 24

-> pet:
initmainargs, 24

-> plus4:
initmainargs, 24
initkbd

-> vic20:
initmainargs, 24

-> apple2:
initdostype, 19
initmainargs, 18
raisefilelevel, 17
initconio, 16
initostype
initprompt
initreboot
initiobuf

-> atari:
initmouse,27
detect,26
initmainargs,25
__getdefdev,24

-> atmos:
initmainargs, 24
initcgetc

-> geos:
initmainargs, 24
initscrsize

-> lynx:
initmainargs, 24

-> nes:
conioinit


--> destructors <--

-> runtime:
n/a

-> common:
doatexit, 5

-> cbm:
closeallfiles, 17

-> c64:
_reset_brk

-> c128:
_reset_brk
donecgetc

-> c16:
_reset_brk
donekbd

-> cbm510:
n/a

-> cbm610:
setsyscursor

-> pet:
_reset_brk

-> plus4:
donekbd

-> vic20:
_reset_brk

-> apple2:
closeallfiles, 17
_reset_brk

-> atari:
closeallfiles, 17
_reset_brk

-> atmos:
n/a

-> geos:
n/a

-> lynx:
n/a

-> nes:
n/a


Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 27 15:45:41 2011

This archive was generated by hypermail 2.1.8 : 2011-01-27 15:45:45 CET