Changeset 1905 for trunk/src/emx/include


Ignore:
Timestamp:
Apr 24, 2005, 2:11:40 PM (20 years ago)
Author:
bird
Message:

Rewrote atexit() fixing recursive exit() calling. Added on_exit().

Location:
trunk/src/emx/include
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/emx/startup.h

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1904 r1905  
    5050#define _CRT_EXIT1(fun) __asm__ (".stabs \"___crtexit1__\", 23, 0, 0, _" #fun);
    5151
    52 extern void (*_atexit_v[64])(void);
    53 extern int _atexit_n;
    54 
    5552extern char ** _org_environ;
    5653
  • trunk/src/emx/include/stdlib.h

    • Property cvs2svn:cvs-rev changed from 1.30 to 1.31
    r1904 r1905  
    299299void    *valloc(size_t);
    300300#endif
     301int      on_exit(void (*)(int, void *), void *);
    301302/* bird: LIBC stuff - end  */
    302303
Note: See TracChangeset for help on using the changeset viewer.