Changeset 2942 for trunk/libc/src/kNIX/b_initterm.c
- Timestamp:
- Jan 8, 2007, 9:15:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/kNIX/b_initterm.c
r2941 r2942 50 50 * @param pvOS OS specific argument. 51 51 * @param fFlags Initialization flags, a combination of the __LIBC_INIT_FLAGS_* \#defines. 52 * __LIBC_INIT_FLAGS_PROCESS is set when doing the process init call (__libc_InitExe). 52 53 */ 53 54 static int __libc_back_init(uintptr_t hmod, void *pvOS, unsigned fFlags) … … 138 139 rc = __libc_back_init(hmod, pvOS, fFlags); 139 140 else 140 /* (Might later add initialization code for every module here.) */ 141 rc = 0; 141 { 142 #ifdef __OS2__ 143 /* Install the 16-bit signal handler. */ 144 if (fFlags & __LIBC_INIT_FLAGS_PROCESS) 145 rc = __libc_back_signalInitExe(); 146 else 147 #endif 148 rc = 0; 149 150 } 142 151 if (!rc) 143 152 LIBCLOG_RETURN_INT(0); … … 184 193 * When invoked via _exit() it's NULL. 185 194 * @param fFlags Termination flags. 186 * When invoked via _exit() it's 0.195 * When invoked via _exit() it's __LIBC_INIT_FLAGS_PROCESS. 187 196 */ 188 197 void __libc_Back_term(uintptr_t hmod, void *pvOS, unsigned fFlags)
Note:
See TracChangeset
for help on using the changeset viewer.