Changeset 2786 for branches/libc-0.6/src/emx/include
- Timestamp:
- Aug 27, 2006, 4:26:13 PM (19 years ago)
- Location:
- branches/libc-0.6/src/emx/include/InnoTekLIBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/InnoTekLIBC/atexit.h
r1905 r2786 37 37 __LIBC_ATEXITTYPE_ONEXIT, 38 38 /** State transition state. */ 39 __LIBC_ATEXITTYPE_TRANS 39 __LIBC_ATEXITTYPE_TRANS, 40 /** The module containing the callback was unloaded. */ 41 __LIBC_ATEXITTYPE_UNLOADED 40 42 } __LIBC_ATEXITTYPE; 41 43 … … 47 49 /** Entry type. */ 48 50 __LIBC_ATEXITTYPE volatile enmType; 51 /** The (native) module handle this callback is connected to. 52 * This will be 0 if no such association. */ 53 uintptr_t hmod; 49 54 union 50 55 { … … 92 97 * @returns Pointer to new entry. 93 98 * @returns NULL on failure. 99 * 100 * @param pvCallback The callback address. 101 * This used to initialize the __LIBC_AT_EXIT::hmod field. 94 102 */ 95 __LIBC_PATEXIT __libc_atexit_new(void); 103 __LIBC_PATEXIT __libc_atexit_new(void *pvCallback); 104 105 /** 106 * Invalidate all atexit and on_exit callback for a 107 * module which is being unloaded. 108 * 109 * @param hmod The module handle. 110 */ 111 void __libc_atexit_unload(uintptr_t hmod); 96 112 97 113 __END_DECLS -
branches/libc-0.6/src/emx/include/InnoTekLIBC/fork.h
r2320 r2786 575 575 /** Indicates that the module is an executable. */ 576 576 #define __LIBC_FORKMODULE_FLAGS_EXECUTABLE 0x00000001 577 /** Indicates that the module was dynamically loaded. */578 #define __LIBC_FORKMODULE_FLAGS_D YNAMIC0x00010000577 /** Indicates that the module already has been deregistered (libc termination). */ 578 #define __LIBC_FORKMODULE_FLAGS_DEREGISTERED 0x00010000 579 579 /** @} */ 580 580 … … 606 606 */ 607 607 int __libc_ForkRegisterModule(__LIBC_PFORKMODULE pModule, int fExecutable); 608 609 610 /** 611 * Deregister a forkable module. Called by dll0. 612 * 613 * The call links pModule out of the list of forkable modules 614 * which is maintained in the process block. 615 * 616 * @param pModule Pointer to the fork module structure for the 617 * module which is to registered. 618 */ 619 void __libc_ForkDeregisterModule(__LIBC_PFORKMODULE pModule); 608 620 609 621
Note:
See TracChangeset
for help on using the changeset viewer.