- Timestamp:
- Dec 21, 1999, 1:27:12 PM (26 years ago)
- Location:
- trunk/src
- Files:
-
- 4 added
- 3 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/makefile
r2159 r2177 1 # $Id: makefile,v 1.1 5 1999-12-20 11:47:01sandervl Exp $1 # $Id: makefile,v 1.16 1999-12-21 12:24:22 sandervl Exp $ 2 2 3 3 # … … 31 31 sync.obj\ 32 32 initterm.obj\ 33 crt.obj\34 33 time.obj\ 35 34 unknown.obj\ 36 35 arith64.obj\ 37 regfunc.obj qsort.obj36 regfunc.obj 38 37 39 38 … … 44 43 45 44 $(TARGET).dll: $(OBJS) $(TARGET).def 46 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) sbsstub.obj $(TARGET).def $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib $(PDWIN32_LIB)/kernel32.lib $(PDWIN32_LIB)/ odincrt.lib OS2386.LIB $(RTLLIB_O)45 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) sbsstub.obj $(TARGET).def $(PDWIN32_LIB)\kernel32.lib $(PDWIN32_LIB)\user32.lib $(PDWIN32_LIB)/kernel32.lib $(PDWIN32_LIB)/crtdll.lib $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 47 46 # PMWINX.LIB LIBULS.LIB LIBCONV.LIB 48 47 $(CP) $@ $(PDWIN32_BIN) -
trunk/src/NTDLL/ntdll.def
r2159 r2177 1 ; $Id: ntdll.def,v 1.3 0 1999-12-20 11:47:01sandervl Exp $1 ; $Id: ntdll.def,v 1.31 1999-12-21 12:24:22 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 360 360 ; Note: CDECL does not decorate the function names with parameter bytes! 361 361 362 _CIpow = _NTDLL__CIpow @349363 _ftol = _NTDLL__ftol @864364 _ltoa = _NTDLL__ltoa @866365 _memicmp = _NTDLL__memicmp @868366 _snprintf = _NTDLL__snprintf @869367 _snwprintf = _NTDLL__snwprintf @870368 _splitpath = _NTDLL__splitpath @871369 _strcmpi = _NTDLL__strcmpi @872370 _strlwr = _NTDLL__strlwr @874371 _strnicmp = _NTDLL__strnicmp @875372 _strupr = _NTDLL__strupr @876373 _ultoa = _NTDLL__ultoa @877374 _vsnprintf = _NTDLL__vsnprintf @878375 _wcsicmp = _ OS2_wcsicmp @879376 _wcslwr = _ OS2_wcslwr @880377 _wcsnicmp = _ OS2_wcsnicmp @881378 _wcsupr = _ OS2_wcsupr @882379 abs = _ OS2abs @883380 atan = _ OS2atan @884381 atoi = _ OS2atoi @885382 atol = _ OS2atol @886383 ceil = _ OS2ceil @887384 cos = _ OS2cos @888385 fabs = _ OS2fabs @889386 floor = _ OS2floor @890387 isalpha = _ OS2isalpha @891388 isdigit = _ OS2isdigit @892389 islower = _ OS2islower @893390 isprint = _ OS2isprint @894391 isspace = _ OS2isspace @895392 isupper = _ OS2isupper @896393 iswalpha = _NTDLL_iswalpha @897394 iswctype = _NTDLL_iswctype @898395 isxdigit = _NTDLL_isxdigit @899396 397 labs = _ NTDLL_labs @900398 log = _ NTDLL_log @901399 mbstowcs = _ NTDLL_mbstowcs @902400 memchr = _ NTDLL_memchr @903401 memcmp = _ NTDLL_memcmp @904402 memcpy = _ NTDLL_memcpy @905403 memmove = _ OS2memmove @906404 memset = _ NTDLL_memset @907405 pow = _ NTDLL_pow @908406 qsort = _ qsort @909407 sin = _ NTDLL_sin @910408 sprintf = _ OS2sprintf @911409 sqrt = _NTDLL_sqrt @912410 sscanf = _NTDLL_sscanf @913411 strcat = _ OS2strcat @914412 strchr = _ OS2strchr @915413 strcmp = _ OS2strcmp @916414 strcpy = _ OS2strcpy @917415 strcspn = _ OS2strcspn @918416 strlen = _ OS2strlen @919417 strncat = _ OS2strcat @920418 strncmp = _ OS2strncmp @921419 strncpy = _ OS2strncpy @922420 strpbrk = _ OS2strpbrk @923421 strrchr = _ OS2strrchr @924422 strspn = _ OS2strspn @925423 strstr = _ OS2strstr @926424 swprintf = _ OS2swprintf @927425 tan = _ OS2tan @928426 toupper = _ OS2toupper @929427 tolower = _ OS2tolower @930428 towlower = _ OS2towlower @931429 towupper = _ OS2towupper @932430 vsprintf = _NTDLL_vsprintf @933431 wcscat = _ OS2wcscat @934432 wcschr = _ OS2wcschr @935433 wcscmp = _ OS2wcscmp @936434 wcscpy = _ OS2wcscpy @937435 wcscspn = _ OS2wcscspn436 wcslen = _ OS2wcslen @939437 wcsncat = _ OS2wcscat @940438 wcsncmp = _ OS2wcsncmp @941439 wcsncpy = _ OS2wcsncpy @942440 wcspbrk = _ OS2wcspbrk @943441 wcsrchr = _ OS2wcsrchr @944442 wcsspn = _ OS2wcsspn @945443 wcsstr = _ OS2wcsstr444 wcstok = _ NTDLL_wcstok @947445 wcstol = _ NTDLL_wcstol @948446 wcstombs = _ NTDLL_wcstombs @949447 wcstoul = _ NTDLL_wcstoul @950448 449 _wtoi = _NTDLL__wtoi @983450 _wtol = _NTDLL__wtol @984451 452 _stricmp = _ OS2_stricmp453 _itoa = _ OS2_itoa454 _itow = _ OS2_itow455 362 _CIpow = _CRTDLL__CIpow @349 363 _ftol = _CRTDLL__ftol @864 364 _ltoa = _CRTDLL__ltoa @866 365 _memicmp = _CRTDLL__memicmp @868 366 _snprintf = _CRTDLL__snprintf @869 367 _snwprintf = _CRTDLL__snwprintf @870 368 _splitpath = _CRTDLL__splitpath @871 369 _strcmpi = _CRTDLL__strcmpi @872 370 _strlwr = _CRTDLL__strlwr @874 371 _strnicmp = _CRTDLL__strnicmp @875 372 _strupr = _CRTDLL__strupr @876 373 _ultoa = _CRTDLL__ultoa @877 374 _vsnprintf = _CRTDLL__vsnprintf @878 375 _wcsicmp = _CRTDLL__wcsicmp @879 376 _wcslwr = _CRTDLL__wcslwr @880 377 _wcsnicmp = _CRTDLL__wcsnicmp @881 378 _wcsupr = _CRTDLL__wcsupr @882 379 abs = _CRTDLL_abs @883 380 atan = _CRTDLL_atan @884 381 atoi = _CRTDLL_atoi @885 382 atol = _CRTDLL_atol @886 383 ceil = _CRTDLL_ceil @887 384 cos = _CRTDLL_cos @888 385 fabs = _CRTDLL_fabs @889 386 floor = _CRTDLL_floor @890 387 isalpha = _CRTDLL_isalpha @891 388 isdigit = _CRTDLL_isdigit @892 389 islower = _CRTDLL_islower @893 390 isprint = _CRTDLL_isprint @894 391 isspace = _CRTDLL_isspace @895 392 isupper = _CRTDLL_isupper @896 393 iswalpha = _CRTDLL_iswalpha @897 394 iswctype = _CRTDLL_iswctype @898 395 isxdigit = _CRTDLL_isxdigit @899 396 397 labs = _CRTDLL_labs @900 398 log = _CRTDLL_log @901 399 mbstowcs = _CRTDLL_mbstowcs @902 400 memchr = _CRTDLL_memchr @903 401 memcmp = _CRTDLL_memcmp @904 402 memcpy = _CRTDLL_memcpy @905 403 memmove = _CRTDLL_memmove @906 404 memset = _CRTDLL_memset @907 405 pow = _CRTDLL_pow @908 406 qsort = _CRTDLL_qsort @909 407 sin = _CRTDLL_sin @910 408 sprintf = _CRTDLL_sprintf @911 409 sqrt = _CRTDLL_sqrt @912 410 sscanf = _CRTDLL_sscanf @913 411 strcat = _CRTDLL_strcat @914 412 strchr = _CRTDLL_strchr @915 413 strcmp = _CRTDLL_strcmp @916 414 strcpy = _CRTDLL_strcpy @917 415 strcspn = _CRTDLL_strcspn @918 416 strlen = _CRTDLL_strlen @919 417 strncat = _CRTDLL_strcat @920 418 strncmp = _CRTDLL_strncmp @921 419 strncpy = _CRTDLL_strncpy @922 420 strpbrk = _CRTDLL_strpbrk @923 421 strrchr = _CRTDLL_strrchr @924 422 strspn = _CRTDLL_strspn @925 423 strstr = _CRTDLL_strstr @926 424 swprintf = _CRTDLL_swprintf @927 425 tan = _CRTDLL_tan @928 426 toupper = _CRTDLL_toupper @929 427 tolower = _CRTDLL_tolower @930 428 towlower = _CRTDLL_towlower @931 429 towupper = _CRTDLL_towupper @932 430 vsprintf = _CRTDLL_vsprintf @933 431 wcscat = _CRTDLL_wcscat @934 432 wcschr = _CRTDLL_wcschr @935 433 wcscmp = _CRTDLL_wcscmp @936 434 wcscpy = _CRTDLL_wcscpy @937 435 wcscspn = _CRTDLL_wcscspn 436 wcslen = _CRTDLL_wcslen @939 437 wcsncat = _CRTDLL_wcscat @940 438 wcsncmp = _CRTDLL_wcsncmp @941 439 wcsncpy = _CRTDLL_wcsncpy @942 440 wcspbrk = _CRTDLL_wcspbrk @943 441 wcsrchr = _CRTDLL_wcsrchr @944 442 wcsspn = _CRTDLL_wcsspn @945 443 wcsstr = _CRTDLL_wcsstr 444 wcstok = _CRTDLL_wcstok @947 445 wcstol = _CRTDLL_wcstol @948 446 wcstombs = _CRTDLL_wcstombs @949 447 wcstoul = _CRTDLL_wcstoul @950 448 449 _wtoi = _CRTDLL__wtoi @983 450 _wtol = _CRTDLL__wtol @984 451 452 _stricmp = _CRTDLL__stricmp 453 _itoa = _CRTDLL__itoa 454 _itow = _CRTDLL__itow 455 -
trunk/src/NTDLL/ntdllexp.def
r2134 r2177 231 231 _RtlConvertLongToLargeInteger@4 @316 232 232 _RtlConvertUlongToLargeInteger@4 @320 233 _RtlDeleteCriticalSection@4 @327 234 _RtlLeaveCriticalSection@4 @426 235 _RtlEnterCriticalSection@4 @344 236 _RtlInitializeCriticalSection@4 @406 -
trunk/src/crtdll/bsearch.c
r2156 r2177 1 /* $Id: bsearch.c,v 1. 1 1999-12-20 11:09:41 sandervl Exp $ */1 /* $Id: bsearch.c,v 1.2 1999-12-21 12:27:11 sandervl Exp $ */ 2 2 /* bsearch.c (emx+gcc) -- Copyright (c) 1990-1995 by Eberhard Mattes */ 3 3 … … 5 5 #include <builtin.h> 6 6 7 void *CDECL bsearch (const void *key, const void *base, size_t num, size_t width, 7 /********************************************************************* 8 * bsearch (CRTDLL.346) 9 */ 10 11 void *CDECL CRTDLL_bsearch (const void *key, const void *base, size_t num, size_t width, 8 12 int (* CDECL compare)(const void *key, const void *element)) 9 13 { -
trunk/src/crtdll/crtdll.cpp
r2107 r2177 1 /* $Id: crtdll.cpp,v 1.1 6 1999-12-18 14:32:23sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.17 1999-12-21 12:27:11 sandervl Exp $ */ 2 2 3 3 /* … … 108 108 double CDECL CRTDLL__CIacos( double x ) 109 109 { 110 dprintf((" NTDLL: _CIacos\n"));110 dprintf(("CRTDLL: _CIacos\n")); 111 111 dprintf(("should be register function\n")); 112 112 return acos(x); … … 119 119 double CDECL CRTDLL__CIasin( double x ) 120 120 { 121 dprintf((" NTDLL: _CIasin\n"));121 dprintf(("CRTDLL: _CIasin\n")); 122 122 dprintf(("should be register function\n")); 123 123 return asin(x); … … 130 130 double CDECL CRTDLL__CIatan( double x ) 131 131 { 132 dprintf((" NTDLL: _CIatan\n"));132 dprintf(("CRTDLL: _CIatan\n")); 133 133 dprintf(("should be register function\n")); 134 134 return atan(x); … … 141 141 double CDECL CRTDLL__CIatan2( double x, double y ) 142 142 { 143 dprintf((" NTDLL: _CIatan2\n"));143 dprintf(("CRTDLL: _CIatan2\n")); 144 144 dprintf(("should be register function\n")); 145 145 return atan2(x,y); … … 152 152 double CDECL CRTDLL__CIcos( double x ) 153 153 { 154 dprintf((" NTDLL: _CIcos\n"));154 dprintf(("CRTDLL: _CIcos\n")); 155 155 dprintf(("should be register function\n")); 156 156 return cos(x); … … 163 163 double CDECL CRTDLL__CIcosh( double x ) 164 164 { 165 dprintf((" NTDLL: _CIcosh\n"));165 dprintf(("CRTDLL: _CIcosh\n")); 166 166 dprintf(("should be register function\n")); 167 167 return cosh(x); … … 174 174 double CDECL CRTDLL__CIexp( double x ) 175 175 { 176 dprintf((" NTDLL: _CIexp\n"));176 dprintf(("CRTDLL: _CIexp\n")); 177 177 dprintf(("should be register function\n")); 178 178 return exp(x); … … 185 185 double CDECL CRTDLL__CIfmod( double x, double y ) 186 186 { 187 dprintf((" NTDLL: _CIfmod\n"));187 dprintf(("CRTDLL: _CIfmod\n")); 188 188 dprintf(("should be register function\n")); 189 189 return fmod(x,y); … … 196 196 double CDECL CRTDLL__CIlog( double x ) 197 197 { 198 dprintf((" NTDLL: _CIlog\n"));198 dprintf(("CRTDLL: _CIlog\n")); 199 199 dprintf(("should be register function\n")); 200 200 return log(x); … … 207 207 double CDECL CRTDLL__CIlog10( double x ) 208 208 { 209 dprintf((" NTDLL: _CIlog10\n"));209 dprintf(("CRTDLL: _CIlog10\n")); 210 210 dprintf(("should be register function\n")); 211 211 return log10(x); … … 218 218 double CDECL CRTDLL__CIsin( double x ) 219 219 { 220 dprintf((" NTDLL: _CIsin\n"));220 dprintf(("CRTDLL: _CIsin\n")); 221 221 dprintf(("should be register function\n")); 222 222 return sin(x); … … 229 229 double CDECL CRTDLL__CIsinh( double x ) 230 230 { 231 dprintf((" NTDLL: _CIsinh\n"));231 dprintf(("CRTDLL: _CIsinh\n")); 232 232 dprintf(("should be register function\n")); 233 233 return sinh(x); … … 240 240 double CDECL CRTDLL__CIsqrt( double x ) 241 241 { 242 dprintf((" NTDLL: _CIsqrt\n"));242 dprintf(("CRTDLL: _CIsqrt\n")); 243 243 dprintf(("should be register function\n")); 244 244 return acos(x); … … 251 251 double CDECL CRTDLL__CItan( double x ) 252 252 { 253 dprintf((" NTDLL: _CItan\n"));253 dprintf(("CRTDLL: _CItan\n")); 254 254 dprintf(("should be register function\n")); 255 255 return tan(x); … … 262 262 double CDECL CRTDLL__CItanh( double x ) 263 263 { 264 dprintf((" NTDLL: _CItanh\n"));264 dprintf(("CRTDLL: _CItanh\n")); 265 265 dprintf(("should be register function\n")); 266 266 return tanh(x); … … 4021 4021 { 4022 4022 dprintf(("CRTDLL: _wcsicoll\n")); 4023 return NTDLL__wcsicmp( str1, str2 );4023 return CRTDLL__wcsicmp( str1, str2 ); 4024 4024 } 4025 4025 … … 4187 4187 } 4188 4188 4189 4190 /*********************************************************************4191 * bsearch (CRTDLL.346)4192 */4193 void * CDECL CRTDLL_bsearch( const void *key, const void *base0, size_t nelem,4194 size_t size, int (*cmp)(const void *ck, const void *ce))4195 {4196 dprintf(("CRTDLL: bsearch\n"));4197 char *base = (char *)base0;4198 int lim, cmpval;4199 void *p;4200 4201 for (lim = nelem; lim != 0; lim >>= 1)4202 {4203 p = base + (lim >> 1) * size;4204 cmpval = (*cmp)(key, p);4205 if (cmpval == 0)4206 return p;4207 if (cmpval > 0)4208 { /* key > p: move right */4209 base = (char *)p + size;4210 lim--;4211 } /* else move left */4212 }4213 return 0;4214 }4215 4216 4217 4189 /********************************************************************* 4218 4190 * calloc (CRTDLL.347) … … 4992 4964 int CDECL CRTDLL_rand( void ) 4993 4965 { 4994 dprintf(("CRTDLL: rand\n"));4966 // dprintf(("CRTDLL: rand\n")); 4995 4967 return (rand()); 4996 4968 } … … 5271 5243 return (ungetwc(wc, strm)); 5272 5244 } 5273 5274 5245 5275 5246 /********************************************************************* -
trunk/src/crtdll/crtdll.def
r2156 r2177 1 ; $Id: crtdll.def,v 1. 9 1999-12-20 11:09:41sandervl Exp $1 ; $Id: crtdll.def,v 1.10 1999-12-21 12:27:12 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 7 7 IMPORTS 8 8 _RtlUnwind@16 = NTDLL.RtlUnwind 9 10 ; Forwarded APIs11 KERNEL32_memmove = KERNEL32.memmove12 NTDLL__CIpow = NTDLL._CIpow13 NTDLL__ftol = NTDLL._ftol14 NTDLL__itoa = NTDLL._itoa15 NTDLL__ltoa = NTDLL._ltoa16 NTDLL__memicmp = NTDLL._memicmp17 NTDLL__snprintf = NTDLL._snprintf18 NTDLL__snwprintf = NTDLL._snwprintf19 NTDLL__splitpath = NTDLL._splitpath20 NTDLL__strcmpi = NTDLL._strcmpi21 NTDLL__stricmp = NTDLL._stricmp22 NTDLL__strlwr = NTDLL._strlwr23 NTDLL__strnicmp = NTDLL._strnicmp24 NTDLL__strupr = NTDLL._strupr25 NTDLL__ultoa = NTDLL._ultoa26 NTDLL__vsnprintf = NTDLL._vsnprintf27 _NTDLL__wcsicmp = NTDLL._wcsicmp28 NTDLL__wcslwr = NTDLL._wcslwr29 NTDLL__wcsnicmp = NTDLL._wcsnicmp30 NTDLL__wcsupr = NTDLL._wcsupr31 NTDLL__wtoi = NTDLL._wtoi32 NTDLL__wtol = NTDLL._wtol33 NTDLL_abs = NTDLL.abs34 NTDLL_atan = NTDLL.atan35 NTDLL_atoi = NTDLL.atoi36 NTDLL_atol = NTDLL.atol37 NTDLL_ceil = NTDLL.ceil38 NTDLL_cos = NTDLL.cos39 NTDLL_fabs = NTDLL.fabs40 NTDLL_floor = NTDLL.floor41 NTDLL_isalpha = NTDLL.isalpha42 NTDLL_isdigit = NTDLL.isdigit43 NTDLL_islower = NTDLL.islower44 NTDLL_isprint = NTDLL.isprint45 NTDLL_isspace = NTDLL.isspace46 NTDLL_isupper = NTDLL.isupper47 NTDLL_iswalpha = NTDLL.iswalpha48 NTDLL_iswctype = NTDLL.iswctype49 NTDLL_isxdigit = NTDLL.isxdigit50 NTDLL_labs = NTDLL.labs51 NTDLL_log = NTDLL.log52 NTDLL_mbstowcs = NTDLL.mbstowcs53 NTDLL_memchr = NTDLL.memchr54 NTDLL_memcmp = NTDLL.memcmp55 NTDLL_memcpy = NTDLL.memcpy56 NTDLL_memset = NTDLL.memset57 NTDLL_pow = NTDLL.pow58 NTDLL_qsort = NTDLL.qsort59 NTDLL_sin = NTDLL.sin60 NTDLL_sprintf = NTDLL.sprintf61 NTDLL_sqrt = NTDLL.sqrt62 NTDLL_sscanf = NTDLL.sscanf63 NTDLL_strcat = NTDLL.strcat64 NTDLL_strchr = NTDLL.strchr65 NTDLL_strcmp = NTDLL.strcmp66 NTDLL_strcpy = NTDLL.strcpy67 NTDLL_strcspn = NTDLL.strcspn68 NTDLL_strlen = NTDLL.strlen69 NTDLL_strncat = NTDLL.strncat70 NTDLL_strncmp = NTDLL.strncmp71 NTDLL_strncpy = NTDLL.strncpy72 NTDLL_strpbrk = NTDLL.strpbrk73 NTDLL_strrchr = NTDLL.strrchr74 NTDLL_strspn = NTDLL.strspn75 NTDLL_strstr = NTDLL.strstr76 NTDLL_swprintf = NTDLL.swprintf77 NTDLL_tan = NTDLL.tan78 NTDLL_tolower = NTDLL.tolower79 NTDLL_toupper = NTDLL.toupper80 NTDLL_towlower = NTDLL.towlower81 NTDLL_towupper = NTDLL.towupper82 NTDLL_vsprintf = NTDLL.vsprintf83 NTDLL_wcscat = NTDLL.wcscat84 NTDLL_wcschr = NTDLL.wcschr85 NTDLL_wcscmp = NTDLL.wcscmp86 NTDLL_wcscpy = NTDLL.wcscpy87 NTDLL_wcscspn = NTDLL.wcscspn88 NTDLL_wcslen = NTDLL.wcslen89 NTDLL_wcsncat = NTDLL.wcsncat90 NTDLL_wcsncmp = NTDLL.wcsncmp91 NTDLL_wcsncpy = NTDLL.wcsncpy92 NTDLL_wcspbrk = NTDLL.wcspbrk93 NTDLL_wcsrchr = NTDLL.wcsrchr94 NTDLL_wcsspn = NTDLL.wcsspn95 NTDLL_wcsstr = NTDLL.wcsstr96 NTDLL_wcstok = NTDLL.wcstok97 NTDLL_wcstol = NTDLL.wcstol98 NTDLL_wcstombs = NTDLL.wcstombs99 NTDLL_wcstoul = NTDLL.wcstoul100 101 9 102 10 EXPORTS … … 114 22 _CIlog = _CRTDLL__CIlog @12 115 23 _CIlog10 = _CRTDLL__CIlog10 @13 116 _CIpow = NTDLL__CIpow @1424 _CIpow = _CRTDLL__CIpow @14 117 25 _CIsin = _CRTDLL__CIsin @15 118 26 _CIsinh = _CRTDLL__CIsinh @16 … … 214 122 _fstat = _CRTDLL__fstat @111 215 123 _ftime = _CRTDLL__ftime @112 216 _ftol = NTDLL__ftol @113124 _ftol = _CRTDLL__ftol @113 217 125 _fullpath = _CRTDLL__fullpath @114 218 126 _futime = _CRTDLL__futime @115 … … 266 174 _ismbstrail = _CRTDLL__ismbstrail @163 267 175 _isnan = _CRTDLL__isnan @164 268 _itoa = NTDLL__itoa @165176 _itoa = _CRTDLL__itoa @165 269 177 _j0 = _CRTDLL__j0 @166 270 178 _j1 = _CRTDLL__j1 @167 … … 280 188 _lsearch = _CRTDLL__lsearch @177 281 189 _lseek = _CRTDLL__lseek @178 282 _ltoa = NTDLL__ltoa @179190 _ltoa = _CRTDLL__ltoa @179 283 191 _makepath = _CRTDLL__makepath @180 284 192 _matherr = _CRTDLL__matherr @181 … … 333 241 _mbsupr = _CRTDLL__mbsupr @229 334 242 _memccpy = _CRTDLL__memccpy @230 335 _memicmp = NTDLL__memicmp @231243 _memicmp = _CRTDLL__memicmp @231 336 244 _mkdir = _CRTDLL__mkdir @232 337 245 _mktemp = _CRTDLL__mktemp @233 … … 368 276 _setsystime = _CRTDLL__setsystime @264 369 277 _sleep = _CRTDLL__sleep @265 370 _snprintf = NTDLL__snprintf @266371 _snwprintf = NTDLL__snwprintf @267278 _snprintf = _CRTDLL__snprintf @266 279 _snwprintf = _CRTDLL__snwprintf @267 372 280 _sopen = _CRTDLL__sopen @268 373 281 _spawnl = _CRTDLL__spawnl @269 … … 379 287 _spawnvp = _CRTDLL__spawnvp @275 380 288 _spawnvpe = _CRTDLL__spawnvpe @276 381 _splitpath = NTDLL__splitpath @277289 _splitpath = _CRTDLL__splitpath @277 382 290 _stat = _CRTDLL__stat @278 383 291 _statusfp = _CRTDLL__statusfp @279 384 _strcmpi = NTDLL__strcmpi @280292 _strcmpi = _CRTDLL__strcmpi @280 385 293 _strdate = _CRTDLL__strdate @281 386 294 _strdec = _CRTDLL__strdec @282 387 295 _strdup = _CRTDLL__strdup @283 388 296 _strerror = _CRTDLL__strerror @284 389 _stricmp = NTDLL__stricmp @285297 _stricmp = _CRTDLL__stricmp @285 390 298 _stricoll = _CRTDLL__stricoll @286 391 299 _strinc = _CRTDLL__strinc @287 392 _strlwr = NTDLL__strlwr @288300 _strlwr = _CRTDLL__strlwr @288 393 301 _strncnt = _CRTDLL__strncnt @289 394 302 _strnextc = _CRTDLL__strnextc @290 395 _strnicmp = NTDLL__strnicmp @291303 _strnicmp = _CRTDLL__strnicmp @291 396 304 _strninc = _CRTDLL__strninc @292 397 305 _strnset = _CRTDLL__strnset @293 … … 400 308 _strspnp = _CRTDLL__strspnp @296 401 309 _strtime = _CRTDLL__strtime @297 402 _strupr = NTDLL__strupr @298310 _strupr = _CRTDLL__strupr @298 403 311 _swab = _CRTDLL__swab @299 404 312 … … 412 320 _tzname = CRTDLL_tzname @307 413 321 _tzset = _CRTDLL__tzset @308 414 _ultoa = NTDLL__ultoa @309322 _ultoa = _CRTDLL__ultoa @309 415 323 _umask = _CRTDLL__umask @310 416 324 _ungetch = _CRTDLL__ungetch @311 … … 418 326 _unloaddll = _CRTDLL__unloaddll @313 419 327 _utime = _CRTDLL__utime @314 420 _vsnprintf = NTDLL__vsnprintf @315328 _vsnprintf = _CRTDLL__vsnprintf @315 421 329 _vsnwprintf = _CRTDLL__vsnwprintf @316 422 330 _wcsdup = _CRTDLL__wcsdup @317 423 _wcsicmp = _ NTDLL__wcsicmp @318331 _wcsicmp = _CRTDLL__wcsicmp @318 424 332 _wcsicoll = _CRTDLL__wcsicoll @319 425 _wcslwr = NTDLL__wcslwr @320426 _wcsnicmp = NTDLL__wcsnicmp @321333 _wcslwr = _CRTDLL__wcslwr @320 334 _wcsnicmp = _CRTDLL__wcsnicmp @321 427 335 _wcsnset = _CRTDLL__wcsnset @322 428 336 _wcsrev = _CRTDLL__wcsrev @323 429 337 _wcsset = _CRTDLL__wcsset @324 430 _wcsupr = NTDLL__wcsupr @325338 _wcsupr = _CRTDLL__wcsupr @325 431 339 _winmajor_dll = CRTDLL_winmajor_dll @326 432 340 _winminor_dll = CRTDLL_winminor_dll @327 433 341 _winver_dll = CRTDLL_winver_dll @328 434 342 _write = _CRTDLL__write @329 435 _wtoi = NTDLL__wtoi @330436 _wtol = NTDLL__wtol @331343 _wtoi = _CRTDLL__wtoi @330 344 _wtol = _CRTDLL__wtol @331 437 345 _y0 = _CRTDLL__y0 @332 438 346 _y1 = _CRTDLL__y1 @333 439 347 _yn = _CRTDLL__yn @334 440 348 abort = _CRTDLL_abort @335 441 abs = NTDLL_abs @336349 abs = _CRTDLL_abs @336 442 350 acos = _CRTDLL_acos @337 443 351 asctime = _CRTDLL_asctime @338 444 352 asin = _CRTDLL_asin @339 445 atan = NTDLL_atan @340353 atan = _CRTDLL_atan @340 446 354 atan2 = _CRTDLL_atan2 @341 447 355 atexit = _CRTDLL_atexit @342 448 356 atof = _CRTDLL_atof @343 449 atoi = NTDLL_atoi @344450 atol = NTDLL_atol @345451 bsearch = _ bsearch@346357 atoi = _CRTDLL_atoi @344 358 atol = _CRTDLL_atol @345 359 bsearch = _CRTDLL_bsearch @346 452 360 calloc = _CRTDLL_calloc @347 453 ceil = NTDLL_ceil @348361 ceil = _CRTDLL_ceil @348 454 362 clearerr = _CRTDLL_clearerr @349 455 363 clock = _CRTDLL_clock @350 456 cos = NTDLL_cos @351364 cos = _CRTDLL_cos @351 457 365 cosh = _CRTDLL_cosh @352 458 366 ctime = _CRTDLL_ctime @353 … … 461 369 exit = _CRTDLL_exit @356 462 370 exp = _CRTDLL_exp @357 463 fabs = NTDLL_fabs @358371 fabs = _CRTDLL_fabs @358 464 372 fclose = _CRTDLL_fclose @359 465 373 feof = _CRTDLL_feof @360 … … 470 378 fgets = _CRTDLL_fgets @365 471 379 fgetwc = _CRTDLL_fgetwc @366 472 floor = NTDLL_floor @367380 floor = _CRTDLL_floor @367 473 381 fmod = _CRTDLL_fmod @368 474 382 fopen = _CRTDLL_fopen @369 … … 495 403 is_wctype = _CRTDLL_is_wctype @390 496 404 isalnum = _CRTDLL_isalnum @391 497 isalpha = NTDLL_isalpha @392405 isalpha = _CRTDLL_isalpha @392 498 406 iscntrl = _CRTDLL_iscntrl @393 499 isdigit = NTDLL_isdigit @394407 isdigit = _CRTDLL_isdigit @394 500 408 isgraph = _CRTDLL_isgraph @395 501 409 isleadbyte = _CRTDLL_isleadbyte @396 502 islower = NTDLL_islower @397503 isprint = NTDLL_isprint @398410 islower = _CRTDLL_islower @397 411 isprint = _CRTDLL_isprint @398 504 412 ispunct = _CRTDLL_ispunct @399 505 413 506 isspace = NTDLL_isspace @400507 isupper = NTDLL_isupper @401414 isspace = _CRTDLL_isspace @400 415 isupper = _CRTDLL_isupper @401 508 416 iswalnum = _CRTDLL_iswalnum @402 509 iswalpha = NTDLL_iswalpha @403417 iswalpha = _CRTDLL_iswalpha @403 510 418 iswascii = _CRTDLL_iswascii @404 511 419 iswcntrl = _CRTDLL_iswcntrl @405 512 iswctype = NTDLL_iswctype @406420 iswctype = _CRTDLL_iswctype @406 513 421 iswdigit = _CRTDLL_iswdigit @407 514 422 iswgraph = _CRTDLL_iswgraph @408 … … 519 427 iswupper = _CRTDLL_iswupper @413 520 428 iswxdigit = _CRTDLL_iswxdigit @414 521 isxdigit = NTDLL_isxdigit @415522 labs = NTDLL_labs @416429 isxdigit = _CRTDLL_isxdigit @415 430 labs = _CRTDLL_labs @416 523 431 ldexp = _CRTDLL_ldexp @417 524 432 ldiv = _CRTDLL_ldiv @418 525 433 localeconv = _CRTDLL_localeconv @419 526 434 localtime = _CRTDLL_localtime @420 527 log = NTDLL_log @421435 log = _CRTDLL_log @421 528 436 log10 = _CRTDLL_log10 @422 529 437 longjmp = _CRTDLL_longjmp @423 530 438 malloc = _CRTDLL_malloc @424 531 439 mblen = _CRTDLL_mblen @425 532 mbstowcs = NTDLL_mbstowcs @426440 mbstowcs = _CRTDLL_mbstowcs @426 533 441 mbtowc = _CRTDLL_mbtowc @427 534 memchr = NTDLL_memchr @428535 memcmp = NTDLL_memcmp @429536 memcpy = NTDLL_memcpy @430537 memmove = KERNEL32_memmove @431538 memset = NTDLL_memset @432442 memchr = _CRTDLL_memchr @428 443 memcmp = _CRTDLL_memcmp @429 444 memcpy = _CRTDLL_memcpy @430 445 memmove = _CRTDLL_memmove @431 446 memset = _CRTDLL_memset @432 539 447 mktime = _CRTDLL_mktime @433 540 448 modf = _CRTDLL_modf @434 541 449 perror = _CRTDLL_perror @435 542 pow = NTDLL_pow @436450 pow = _CRTDLL_pow @436 543 451 printf = _CRTDLL_printf @437 544 452 putc = _CRTDLL_putc @438 545 453 putchar = _CRTDLL_putchar @439 546 454 puts = _CRTDLL_puts @440 547 qsort = NTDLL_qsort @441455 qsort = _CRTDLL_qsort @441 548 456 raise = _CRTDLL_raise @442 549 457 rand = _CRTDLL_rand @443 … … 557 465 setvbuf = _CRTDLL_setvbuf @451 558 466 signal = _CRTDLL_signal @452 559 sin = NTDLL_sin @453467 sin = _CRTDLL_sin @453 560 468 sinh = _CRTDLL_sinh @454 561 sprintf = NTDLL_sprintf @455562 sqrt = NTDLL_sqrt @456469 sprintf = _CRTDLL_sprintf @455 470 sqrt = _CRTDLL_sqrt @456 563 471 srand = _CRTDLL_srand @457 564 sscanf = NTDLL_sscanf @458565 strcat = NTDLL_strcat @459566 strchr = NTDLL_strchr @460567 strcmp = NTDLL_strcmp @461472 sscanf = _CRTDLL_sscanf @458 473 strcat = _CRTDLL_strcat @459 474 strchr = _CRTDLL_strchr @460 475 strcmp = _CRTDLL_strcmp @461 568 476 strcoll = _CRTDLL_strcoll @462 569 strcpy = NTDLL_strcpy @463570 strcspn = NTDLL_strcspn @464477 strcpy = _CRTDLL_strcpy @463 478 strcspn = _CRTDLL_strcspn @464 571 479 strerror = _CRTDLL_strerror @465 572 480 strftime = _CRTDLL_strftime @466 573 strlen = NTDLL_strlen @467574 strncat = NTDLL_strncat @468575 strncmp = NTDLL_strncmp @469576 strncpy = NTDLL_strncpy @470577 strpbrk = NTDLL_strpbrk @471578 strrchr = NTDLL_strrchr @472579 strspn = NTDLL_strspn @473580 strstr = NTDLL_strstr @474481 strlen = _CRTDLL_strlen @467 482 strncat = _CRTDLL_strncat @468 483 strncmp = _CRTDLL_strncmp @469 484 strncpy = _CRTDLL_strncpy @470 485 strpbrk = _CRTDLL_strpbrk @471 486 strrchr = _CRTDLL_strrchr @472 487 strspn = _CRTDLL_strspn @473 488 strstr = _CRTDLL_strstr @474 581 489 strtod = _CRTDLL_strtod @475 582 490 strtok = _CRTDLL_strtok @476 … … 584 492 strtoul = _CRTDLL_strtoul @478 585 493 strxfrm = _CRTDLL_strxfrm @479 586 swprintf = NTDLL_swprintf @480494 swprintf = _CRTDLL_swprintf @480 587 495 swscanf = _CRTDLL_swscanf @481 588 496 system = _CRTDLL_system @482 589 tan = NTDLL_tan @483497 tan = _CRTDLL_tan @483 590 498 tanh = _CRTDLL_tanh @484 591 499 time = _CRTDLL_time @485 592 500 tmpfile = _CRTDLL_tmpfile @486 593 501 tmpnam = _CRTDLL_tmpnam @487 594 tolower = NTDLL_tolower @488595 toupper = NTDLL_toupper @489596 towlower = NTDLL_towlower @490597 towupper = NTDLL_towupper @491502 tolower = _CRTDLL_tolower @488 503 toupper = _CRTDLL_toupper @489 504 towlower = _CRTDLL_towlower @490 505 towupper = _CRTDLL_towupper @491 598 506 ungetc = _CRTDLL_ungetc @492 599 507 ungetwc = _CRTDLL_ungetwc @493 … … 601 509 vfwprintf = _CRTDLL_vfwprintf @495 602 510 vprintf = _CRTDLL_vprintf @496 603 vsprintf = NTDLL_vsprintf @497511 vsprintf = _CRTDLL_vsprintf @497 604 512 vswprintf = _CRTDLL_vswprintf @498 605 513 vwprintf = _CRTDLL_vwprintf @499 606 514 607 wcscat = NTDLL_wcscat @500608 wcschr = NTDLL_wcschr @501609 wcscmp = NTDLL_wcscmp @502515 wcscat = _CRTDLL_wcscat @500 516 wcschr = _CRTDLL_wcschr @501 517 wcscmp = _CRTDLL_wcscmp @502 610 518 wcscoll = _CRTDLL_wcscoll @503 611 wcscpy = NTDLL_wcscpy @504612 wcscspn = NTDLL_wcscspn @505519 wcscpy = _CRTDLL_wcscpy @504 520 wcscspn = _CRTDLL_wcscspn @505 613 521 wcsftime = _CRTDLL_wcsftime @506 614 wcslen = NTDLL_wcslen @507615 wcsncat = NTDLL_wcsncat @508616 wcsncmp = NTDLL_wcsncmp @509617 wcsncpy = NTDLL_wcsncpy @510618 wcspbrk = NTDLL_wcspbrk @511619 wcsrchr = NTDLL_wcsrchr @512620 wcsspn = NTDLL_wcsspn @513621 wcsstr = NTDLL_wcsstr @514522 wcslen = _CRTDLL_wcslen @507 523 wcsncat = _CRTDLL_wcsncat @508 524 wcsncmp = _CRTDLL_wcsncmp @509 525 wcsncpy = _CRTDLL_wcsncpy @510 526 wcspbrk = _CRTDLL_wcspbrk @511 527 wcsrchr = _CRTDLL_wcsrchr @512 528 wcsspn = _CRTDLL_wcsspn @513 529 wcsstr = _CRTDLL_wcsstr @514 622 530 wcstod = _CRTDLL_wcstod @515 623 wcstok = NTDLL_wcstok @516624 wcstol = NTDLL_wcstol @517625 wcstombs = NTDLL_wcstombs @518626 wcstoul = NTDLL_wcstoul @519531 wcstok = _CRTDLL_wcstok @516 532 wcstol = _CRTDLL_wcstol @517 533 wcstombs = _CRTDLL_wcstombs @518 534 wcstoul = _CRTDLL_wcstoul @519 627 535 wcsxfrm = _CRTDLL_wcsxfrm @520 628 536 wctomb = _CRTDLL_wctomb @521 629 537 wprintf = _CRTDLL_wprintf @522 630 538 wscanf = _CRTDLL_wscanf @523 539 540 _itow = _CRTDLL__itow @600 -
trunk/src/crtdll/crtinc.h
r2107 r2177 1 /* $Id: crtinc.h,v 1.1 1 1999-12-18 14:32:24sandervl Exp $ */1 /* $Id: crtinc.h,v 1.12 1999-12-21 12:27:12 sandervl Exp $ */ 2 2 3 3 /* Definitions for the CRTDLL library (CRTDLL.DLL) … … 145 145 // CRTDLL Functions 146 146 CRTDLL_FILE * CDECL CRTDLL__fdopen(INT handle, LPCSTR mode); 147 INT CDECL NTDLL__wcsicmp( LPCWSTR str1, LPCWSTR str2 );147 INT CDECL CRTDLL__wcsicmp( LPCWSTR str1, LPCWSTR str2 ); 148 148 INT CDECL CRTDLL_vfprintf( CRTDLL_FILE *file, LPSTR format, va_list args ); 149 149 VOID * CDECL CRTDLL_malloc(DWORD size); -
trunk/src/crtdll/makefile
r2156 r2177 1 # $Id: makefile,v 1. 4 1999-12-20 11:09:41sandervl Exp $1 # $Id: makefile,v 1.5 1999-12-21 12:27:12 sandervl Exp $ 2 2 3 3 # … … 22 22 TARGET = crtdll 23 23 24 OBJS = crtdll.obj bsearch.obj initterm.obj 24 OBJS = crtdll.obj bsearch.obj initterm.obj qsort.obj crt.obj asmhlp.obj 25 25 26 26 all: $(TARGET).dll $(TARGET).lib … … 30 30 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ 31 31 $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \ 32 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)32 $(PDWIN32_LIB)/odincrt.lib $(PDWIN32_LIB)/user32.lib OS2386.LIB $(RTLLIB_O) 33 33 $(CP) $@ $(PDWIN32_BIN) 34 34 35 35 36 $(TARGET).lib: $(TARGET).def 37 $(IMPLIB) $(IMPLIBFLAGS) $@ $** 38 $(CP) $@ $(PDWIN32_LIB) 36 $(TARGET).LIB: $(TARGET)exp.def 37 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def 38 $(CP) $@ $(PDWIN32_LIB) 39 40 $(TARGET)exp.def: $(TARGET).def 41 $(IMPDEF) $** $@ 39 42 40 43 … … 42 45 crtdll.obj: crtdll.cpp 43 46 bsearch.obj: bsearch.c 47 qsort.obj: qsort.c 48 crt.obj: crt.cpp 49 asmhlp.obj: asmhlp.asm 44 50 45 51 clean:
Note:
See TracChangeset
for help on using the changeset viewer.