Changeset 1118 for trunk/src/crtdll
- Timestamp:
- Oct 4, 1999, 11:56:04 AM (26 years ago)
- Location:
- trunk/src/crtdll
- Files:
-
- 3 edited
-
crtdll.cpp (modified) (38 diffs)
-
crtdll.def (modified) (15 diffs)
-
crtinc.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/crtdll.cpp
r1083 r1118 1 /* $Id: crtdll.cpp,v 1. 6 1999-09-28 13:26:34 sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.7 1999-10-04 09:55:54 sandervl Exp $ */ 2 2 3 3 /* … … 29 29 #include <wctype.h> 30 30 #include <math.h> 31 #include <l ocale.h>31 #include <libc\locale.h> 32 32 #include <signal.h> 33 33 #include <io.h> … … 40 40 #include <drive.h> 41 41 #include <fcntl.h> 42 #include <search.h> 42 43 #include <sys\utime.h> 43 44 #include <sys\stat.h> … … 100 101 101 102 /********************************************************************* 103 * _CIacos (CRTDLL.004) 104 */ 105 double CDECL CRTDLL__CIacos( double x ) 106 { 107 dprintf(("NTDLL: _CIacos\n")); 108 dprintf(("should be register function\n")); 109 return acos(x); 110 } 111 112 113 /********************************************************************* 114 * _CIasin (CRTDLL.005) 115 */ 116 double CDECL CRTDLL__CIasin( double x ) 117 { 118 dprintf(("NTDLL: _CIasin\n")); 119 dprintf(("should be register function\n")); 120 return asin(x); 121 } 122 123 124 /********************************************************************* 125 * _CIatan (CRTDLL.006) 126 */ 127 double CDECL CRTDLL__CIatan( double x ) 128 { 129 dprintf(("NTDLL: _CIatan\n")); 130 dprintf(("should be register function\n")); 131 return atan(x); 132 } 133 134 135 /********************************************************************* 136 * _CIatan2 (CRTDLL.007) 137 */ 138 double CDECL CRTDLL__CIatan2( double x, double y ) 139 { 140 dprintf(("NTDLL: _CIatan2\n")); 141 dprintf(("should be register function\n")); 142 return atan2(x,y); 143 } 144 145 146 /********************************************************************* 147 * _CIcos (CRTDLL.008) 148 */ 149 double CDECL CRTDLL__CIcos( double x ) 150 { 151 dprintf(("NTDLL: _CIcos\n")); 152 dprintf(("should be register function\n")); 153 return cos(x); 154 } 155 156 157 /********************************************************************* 158 * _CIcosh (CRTDLL.009) 159 */ 160 double CDECL CRTDLL__CIcosh( double x ) 161 { 162 dprintf(("NTDLL: _CIcosh\n")); 163 dprintf(("should be register function\n")); 164 return cosh(x); 165 } 166 167 168 /********************************************************************* 169 * _CIexp (CRTDLL.010) 170 */ 171 double CDECL CRTDLL__CIexp( double x ) 172 { 173 dprintf(("NTDLL: _CIexp\n")); 174 dprintf(("should be register function\n")); 175 return exp(x); 176 } 177 178 179 /********************************************************************* 180 * _CIfmod (CRTDLL.011) 181 */ 182 double CDECL CRTDLL__CIfmod( double x, double y ) 183 { 184 dprintf(("NTDLL: _CIfmod\n")); 185 dprintf(("should be register function\n")); 186 return fmod(x,y); 187 } 188 189 190 /********************************************************************* 191 * _CIlog (CRTDLL.012) 192 */ 193 double CDECL CRTDLL__CIlog( double x ) 194 { 195 dprintf(("NTDLL: _CIlog\n")); 196 dprintf(("should be register function\n")); 197 return log(x); 198 } 199 200 201 /********************************************************************* 202 * _CIlog10 (CRTDLL.013) 203 */ 204 double CDECL CRTDLL__CIlog10( double x ) 205 { 206 dprintf(("NTDLL: _CIlog10\n")); 207 dprintf(("should be register function\n")); 208 return log10(x); 209 } 210 211 212 /********************************************************************* 213 * _CIsin (CRTDLL.015) 214 */ 215 double CDECL CRTDLL__CIsin( double x ) 216 { 217 dprintf(("NTDLL: _CIsin\n")); 218 dprintf(("should be register function\n")); 219 return sin(x); 220 } 221 222 223 /********************************************************************* 224 * _CIsinh (CRTDLL.016) 225 */ 226 double CDECL CRTDLL__CIsinh( double x ) 227 { 228 dprintf(("NTDLL: _CIsinh\n")); 229 dprintf(("should be register function\n")); 230 return sinh(x); 231 } 232 233 234 /********************************************************************* 235 * _CIsqrt (CRTDLL.017) 236 */ 237 double CDECL CRTDLL__CIsqrt( double x ) 238 { 239 dprintf(("NTDLL: _CIsqrt\n")); 240 dprintf(("should be register function\n")); 241 return acos(x); 242 } 243 244 245 /********************************************************************* 246 * _CItan (CRTDLL.018) 247 */ 248 double CDECL CRTDLL__CItan( double x ) 249 { 250 dprintf(("NTDLL: _CItan\n")); 251 dprintf(("should be register function\n")); 252 return tan(x); 253 } 254 255 256 /********************************************************************* 257 * _CItanh (CRTDLL.019) 258 */ 259 double CDECL CRTDLL__CItanh( double x ) 260 { 261 dprintf(("NTDLL: _CItanh\n")); 262 dprintf(("should be register function\n")); 263 return tanh(x); 264 } 265 266 267 /********************************************************************* 102 268 * _XcptFilter (CRTDLL.21) 103 269 * FIXME - Could not find anything about it … … 109 275 return FALSE; 110 276 } 277 111 278 112 279 /********************************************************************* … … 139 306 140 307 /* missing threading init */ 308 309 i=0;xargv=NULL;xargc=0;afterlastspace=0; 141 310 /* 142 i=0;xargv=NULL;xargc=0;afterlastspace=0;143 311 dprintf(("CRTDLL: GetMainArgs i loop\n")); 144 312 while (cmdline[i]) { … … 157 325 afterlastspace=i; 158 326 dprintf(("CRTDLL: GetMainArgs *3\n")); 327 159 328 } else 160 329 i++; 161 330 162 331 } 332 163 333 xargv=(char**)HeapReAlloc( GetProcessHeap(), 0, xargv, 164 334 sizeof(char*)*(++xargc)); … … 168 338 xargv[xargc-1] = HEAP_strdupA( GetProcessHeap(), 0, 169 339 cmdline+afterlastspace); 170 dprintf(("CRTDLL: GetMainArgs *6\n")); 171 dprintf(("CRTDLL: GetMainArgs *7\n")); 340 */ 172 341 CRTDLL_argc_dll = xargc; 173 dprintf(("CRTDLL: GetMainArgs *8\n"));174 342 *argc = xargc; 175 dprintf(("CRTDLL: GetMainArgs *9\n"));176 343 CRTDLL_argv_dll = xargv; 177 dprintf(("CRTDLL: GetMainArgs *11\n"));178 344 *argv = xargv; 179 */180 345 dprintf(("CRTDLL: GetMainArgs end\n")); 181 346 CRTDLL_environ_dll = *environ = GetEnvironmentStringsA(); … … 194 359 195 360 /********************************************************************* 361 * __doserrno (CRTDLL.26) 362 */ 363 long * CDECL CRTDLL___doserrno() 364 { 365 dprintf(("__doserrno not implemented.\n")); 366 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 367 return FALSE; 368 // return _doserrno(); 369 } 370 371 372 /********************************************************************* 196 373 * CRTDLL___isascii (CRTDLL.28) 197 374 */ … … 315 492 316 493 /********************************************************************* 494 * CRTDLL__beep (CRTDLL.45) 495 */ 496 void CDECL CRTDLL__beep(unsigned i1, unsigned i2) 497 { 498 dprintf(("_beep not implemented.\n")); 499 } 500 501 502 /********************************************************************* 317 503 * CRTDLL__beginthread (CRTDLL.46) 318 504 */ … … 338 524 339 525 /********************************************************************* 526 * CRTDLL__cabs (CRTDLL.48) 527 */ 528 double CDECL CRTDLL__cabs(struct complex * c) 529 { 530 dprintf(("CRTDLL: _cabs not implemented.\n")); 531 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 532 return FALSE; 533 // return (_cabs(c)); 534 } 535 536 537 /********************************************************************* 340 538 * _cexit (CRTDLL.49) 341 539 * … … 345 543 dprintf(("_cexit(%d)\n",ret)); 346 544 ExitProcess(ret); 545 } 546 547 548 /********************************************************************* 549 * CRTDLL__cgets (CRTDLL.50) 550 */ 551 char * CDECL CRTDLL__cgets( char *s ) 552 { 553 dprintf(("CRTDLL: _cgets\n")); 554 return (_cgets(s)); 347 555 } 348 556 … … 375 583 376 584 /********************************************************************* 585 * CRTDLL__chgsign (CRTDLL.53) 586 */ 587 double CDECL CRTDLL__chgsign(double x) 588 { 589 dprintf(("CRTDLL: _chgsign not implemented.\n")); 590 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 591 return FALSE; 592 } 593 594 595 /********************************************************************* 596 * CRTDLL__chmod (CRTDLL.54) 597 */ 598 int CDECL CRTDLL__chmod( const char *s, int i) 599 { 600 dprintf(("CRTDLL: _chmod\n")); 601 return (_chmod(s, i)); 602 } 603 604 605 /********************************************************************* 606 * CRTDLL__chsize (CRTDLL.55) 607 */ 608 int CDECL CRTDLL__chsize( int i, long l ) 609 { 610 dprintf(("CRTDLL: _chsize\n")); 611 return (_chsize(i, l)); 612 } 613 614 615 /********************************************************************* 616 * CRTDLL__clearfp (CRTDLL.56) 617 */ 618 unsigned int CDECL CRTDLL__clearfp( void ) 619 { 620 dprintf(("CRTDLL: _clearfp\n")); 621 return (_clear87()); 622 } 623 624 625 /********************************************************************* 377 626 * CRTDLL__close (CRTDLL.57) 378 627 */ … … 396 645 /********************************************************************* 397 646 * CRTDLL__controlfp (CRTDLL.61) 398 * FIXME - Could not find anything about it 399 */ 400 INT CDECL CRTDLL__controlfp(DWORD ret) 401 { 402 dprintf(("CRTDLL: _controlfp not implemented.\n")); 647 */ 648 unsigned CDECL CRTDLL__controlfp(unsigned i1,unsigned i2) 649 { 650 dprintf(("CRTDLL: _controlfp\n")); 651 return (_control87(i1, i2)); 652 } 653 654 655 /********************************************************************* 656 * CRTDLL__copysign (CRTDLL.62) 657 */ 658 double CDECL CRTDLL__copysign( double x, double y ) 659 { 660 dprintf(("CRTDLL: _copysign not implemented.\n")); 661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 662 return FALSE; 663 } 664 665 666 /********************************************************************* 667 * CRTDLL__cprintf (CRTDLL.63) 668 */ 669 INT CDECL CRTDLL__cprintf( char *s, ... ) 670 { 671 dprintf(("CRTDLL: _cprintf not implemented.\n")); 672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 673 return FALSE; 674 } 675 676 677 /********************************************************************* 678 * CRTDLL__cputs (CRTDLL.65) 679 */ 680 INT CDECL CRTDLL__cputs( char * s ) 681 { 682 dprintf(("CRTDLL: _cputs\n")); 683 return (_cputs(s)); 684 } 685 686 687 /********************************************************************* 688 * CRTDLL__creat (CRTDLL.66) 689 */ 690 INT CDECL CRTDLL__creat( const char *s, int i ) 691 { 692 dprintf(("CRTDLL: _creat\n")); 693 return (_creat(s, i)); 694 } 695 696 697 /********************************************************************* 698 * CRTDLL__cscanf (CRTDLL.67) 699 */ 700 INT CDECL CRTDLL__cscanf( char *s, ... ) 701 { 702 dprintf(("CRTDLL: _cscanf not implemented.\n")); 403 703 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 404 704 return FALSE; … … 479 779 480 780 /********************************************************************* 781 * CRTDLL__execl (CRTDLL.79) 782 */ 783 int CDECL CRTDLL__execl( char *s1, char *s2, ...) 784 { 785 dprintf(("CRTDLL: _execl not implemented.\n")); 786 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 787 return FALSE; 788 } 789 790 791 /********************************************************************* 792 * CRTDLL__execle (CRTDLL.80) 793 */ 794 int CDECL CRTDLL__execle( char *s1, char *s2, ...) 795 { 796 dprintf(("CRTDLL: _execle not implemented.\n")); 797 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 798 return FALSE; 799 } 800 801 802 /********************************************************************* 803 * CRTDLL__execlp (CRTDLL.81) 804 */ 805 int CDECL CRTDLL__execlp( char *s1, char *s2, ...) 806 { 807 dprintf(("CRTDLL: _execlp not implemented.\n")); 808 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 809 return FALSE; 810 } 811 812 813 /********************************************************************* 814 * CRTDLL__execlpe (CRTDLL.82) 815 */ 816 int CDECL CRTDLL__execlpe( char *s1, char *s2, ...) 817 { 818 dprintf(("CRTDLL: _execlpe not implemented.\n")); 819 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 820 return FALSE; 821 } 822 823 824 /********************************************************************* 825 * CRTDLL__execv (CRTDLL.83) 826 */ 827 int CDECL CRTDLL__execv( char *s1, char **s2) 828 { 829 dprintf(("CRTDLL: _execv\n")); 830 return (_execv(s1, s2)); 831 } 832 833 834 /********************************************************************* 835 * CRTDLL__execve (CRTDLL.84) 836 */ 837 int CDECL CRTDLL__execve( char *s1, char **s2, char **s3) 838 { 839 dprintf(("CRTDLL: _execve\n")); 840 return (_execve(s1, s2, s3)); 841 } 842 843 844 /********************************************************************* 845 * CRTDLL__execvp (CRTDLL.85) 846 */ 847 int CDECL CRTDLL__execvp( char *s1, char **s2) 848 { 849 dprintf(("CRTDLL: _execvp\n")); 850 return (_execvp(s1, s2)); 851 } 852 853 854 /********************************************************************* 855 * CRTDLL__execvpe (CRTDLL.86) 856 */ 857 int CDECL CRTDLL__execvpe( char *s1, char **s2, char **s3) 858 { 859 dprintf(("CRTDLL: _execvpe\n")); 860 return (_execvpe(s1, s2, s3)); 861 } 862 863 864 /********************************************************************* 481 865 * _exit (CRTDLL.87) 482 866 */ … … 496 880 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 497 881 return FALSE; 882 } 883 884 885 /********************************************************************* 886 * CRTDLL__fcloseall (CRTDLL.89) 887 */ 888 int CDECL CRTDLL__fcloseall( void ) 889 { 890 dprintf(("CRTDLL: _fcloseall\n")); 891 return (_fcloseall()); 498 892 } 499 893 … … 561 955 562 956 563 /********************************************************************* 564 * _findclose (CRTDLL.098) 565 */ 957 /********************************************************************* 958 * CRTDLL__filbuf (CRTDLL.94) 959 */ 960 int CDECL CRTDLL__filbuf(FILE * f) 961 { 962 dprintf(("CRTDLL: _filbuf not implemented.\n")); 963 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 964 return FALSE; 965 } 966 967 968 /********************************************************************* 969 * CRTDLL__filelength (CRTDLL.96) 970 */ 971 long CDECL CRTDLL__filelength( int i ) 972 { 973 dprintf(("CRTDLL: _filelength\n")); 974 return (_filelength(i)); 975 } 976 977 978 /********************************************************************* 979 * CRTDLL__fileno (CRTDLL.97) 980 */ 981 int CDECL CRTDLL__fileno(FILE * f) 982 { 983 dprintf(("CRTDLL: _fileno\n")); 984 return (_fileno(f)); 985 } 986 987 988 /********************************************************************* 989 * _findclose (CRTDLL.098) 990 */ 566 991 int CDECL CRTDLL__findclose( long handle ) 567 992 { … … 606 1031 607 1032 /********************************************************************* 1033 * _flsbuf (CRTDLL.102) 1034 */ 1035 INT CDECL CRTDLL__flsbuf(int i, FILE * f) 1036 { 1037 dprintf(("CRTDLL: _flsbuf not implemented.\n")); 1038 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1039 return FALSE; 1040 } 1041 1042 1043 /********************************************************************* 1044 * _flushall (CRTDLL.103) 1045 */ 1046 INT CDECL CRTDLL__flushall(void) 1047 { 1048 dprintf(("CRTDLL: _flushall\n")); 1049 return (_flushall()); 1050 } 1051 1052 1053 /********************************************************************* 1054 * _fpclass (CRTDLL.105) 1055 */ 1056 INT CDECL CRTDLL__fpclass( double x ) 1057 { 1058 dprintf(("CRTDLL: _fpclass not implemented.\n")); 1059 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1060 return FALSE; 1061 } 1062 1063 1064 /********************************************************************* 1065 * _fpieee_flt (CRTDLL.106) 1066 */ 1067 INT CDECL CRTDLL__fpieee_flt( unsigned long exc_code, struct _EXCEPTION_POINTERS *exc_info, int handler) 1068 { 1069 dprintf(("CRTDLL: _fpieee_flt not implemented.\n")); 1070 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1071 return FALSE; 1072 } 1073 1074 1075 1076 /********************************************************************* 608 1077 * _fpreset (CRTDLL.107) 609 1078 */ … … 681 1150 682 1151 /********************************************************************* 1152 * _futime (CRTDLL.115) 1153 */ 1154 int CDECL CRTDLL__futime( int handle, struct _utimbuf *filetime ) 1155 { 1156 dprintf(("CRTDLL: _futime not implemented.\n")); 1157 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1158 return FALSE; 1159 } 1160 1161 1162 /********************************************************************* 683 1163 * _gcvt (CRTDLL.116) 684 1164 */ … … 763 1243 764 1244 /********************************************************************* 1245 * _getdrives (CRTDLL.125) 1246 */ 1247 unsigned long CDECL CRTDLL__getdrives(void) 1248 { 1249 dprintf(("CRTDLL: _getdrives not implemented.\n")); 1250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1251 return FALSE; 1252 } 1253 1254 1255 /********************************************************************* 1256 * _getpid (CRTDLL.126) 1257 */ 1258 int CDECL CRTDLL__getpid( void ) 1259 { 1260 dprintf(("CRTDLL: _getpid\n")); 1261 return (_getpid()); 1262 } 1263 1264 1265 /********************************************************************* 765 1266 * _getw (CRTDLL.128) 766 1267 */ … … 821 1322 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 822 1323 return FALSE; 1324 } 1325 1326 1327 /********************************************************************* 1328 * _hypot (CRTDLL.134) 1329 */ 1330 double CDECL CRTDLL__hypot(double x1, double x2) 1331 { 1332 dprintf(("CRTDLL: _hypot not implemented.\n")); 1333 return (_hypot(x1, x2)); 823 1334 } 824 1335 … … 1128 1639 1129 1640 1641 /********************************************************************* 1642 * _ismbslead (CRTDLL.162) 1643 */ 1644 int CDECL CRTDLL__ismbslead(const unsigned char *s1, const unsigned char *s2) 1645 { 1646 dprintf(("CRTDLL: _ismbslead not implemented.\n")); 1647 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1648 return FALSE; 1649 } 1650 1651 1652 /********************************************************************* 1653 * _ismbstrail (CRTDLL.163) 1654 */ 1655 int CDECL CRTDLL__ismbstrail(const unsigned char *s1, const unsigned char *s2) 1656 { 1657 dprintf(("CRTDLL: _ismbstrail not implemented.\n")); 1658 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1659 return FALSE; 1660 } 1661 1662 1663 /********************************************************************* 1664 * _isnan (CRTDLL.164) 1665 */ 1666 int CDECL CRTDLL__isnan( double x ) 1667 { 1668 dprintf(("CRTDLL: _isnan not implemented.\n")); 1669 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1670 return FALSE; 1671 } 1672 1673 1674 /********************************************************************* 1675 * _j0 (CRTDLL.166) 1676 */ 1677 double CDECL CRTDLL__j0(double x) 1678 { 1679 dprintf(("CRTDLL: _j0\n")); 1680 return (_j0(x)); 1681 } 1682 1683 1684 /********************************************************************* 1685 * _j1 (CRTDLL.167) 1686 */ 1687 double CDECL CRTDLL__j1(double x) 1688 { 1689 dprintf(("CRTDLL: _j1\n")); 1690 return (_j1(x));} 1691 1692 1693 /********************************************************************* 1694 * _jn (CRTDLL.168) 1695 */ 1696 double CDECL CRTDLL__jn(int i, double x) 1697 { 1698 dprintf(("CRTDLL: _jn\n")); 1699 return (_jn(i, x)); 1700 } 1701 1702 1703 /********************************************************************* 1704 * _kbhit (CRTDLL.169) 1705 */ 1706 int CDECL CRTDLL__kbhit( void ) 1707 { 1708 dprintf(("CRTDLL: _kbhit\n")); 1709 return (_kbhit()); 1710 } 1711 1712 1713 /********************************************************************* 1714 * _lfind (CRTDLL.170) 1715 */ 1716 void * CDECL CRTDLL__lfind(const void *v1, const void *v2, unsigned int *i1, unsigned int i2, 1717 int (CDECL *i3)(const void *v3, const void *v4)) 1718 { 1719 dprintf(("CRTDLL: _lfind not implemented.\n")); 1720 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1721 return FALSE; 1722 // return (_lfind(v1,v2,i1,i2,i3(v3,v4))); 1723 } 1724 1725 1130 1726 /******************************************************************* 1131 1727 * _local_unwind2 (CRTDLL.172) … … 1149 1745 1150 1746 /********************************************************************* 1747 * _logb (CRTDLL.174) 1748 */ 1749 double CDECL CRTDLL__logb( double x ) 1750 { 1751 dprintf(("CRTDLL: _logb not implemented.\n")); 1752 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1753 return FALSE; 1754 } 1755 1756 1757 /********************************************************************* 1151 1758 * _lrotl (CRTDLL.175) 1152 1759 */ … … 1165 1772 dprintf(("CRTDLL: _lrotr\n")); 1166 1773 return (_lrotr(value, shift)); 1774 } 1775 1776 1777 /********************************************************************* 1778 * _lsearch (CRTDLL.177) 1779 */ 1780 void * CDECL CRTDLL__lsearch(const void *v1, void *v2, unsigned int *i1, unsigned int i2, 1781 int (CDECL *i3)(const void *v3, const void *v4)) 1782 { 1783 dprintf(("CRTDLL: _lsearch not implemented.\n")); 1784 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1785 return FALSE; 1786 // return (_lsearch(v1,v2,i1,i2,i3(v3,v4))); 1167 1787 } 1168 1788 … … 1713 2333 1714 2334 /********************************************************************* 2335 * CRTDLL__mbstrlen (CRTDLL.228) 2336 */ 2337 size_t CDECL CRTDLL__mbstrlen(const char *s) 2338 { 2339 dprintf(("CRTDLL: _mbstrlen not implemented.\n")); 2340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2341 return FALSE; 2342 } 2343 2344 2345 /********************************************************************* 1715 2346 * CRTDLL__mbsupr (CRTDLL.229) 1716 2347 */ … … 1718 2349 { 1719 2350 dprintf(("CRTDLL: _mbsupr not implemented.\n")); 2351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2352 return FALSE; 2353 } 2354 2355 2356 /********************************************************************* 2357 * CRTDLL__memccpy (CRTDLL.230) 2358 */ 2359 void * CDECL CRTDLL__memccpy(void *v1, const void *v2, int i, size_t s) 2360 { 2361 dprintf(("CRTDLL: _memccpy not implemented.\n")); 1720 2362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1721 2363 return FALSE; … … 1753 2395 dprintf(("CRTDLL: _msize\n")); 1754 2396 return (_msize(ptr)); 2397 } 2398 2399 2400 /********************************************************************* 2401 * _nextafter (CRTDLL.235) 2402 */ 2403 double CDECL CRTDLL__nextafter( double x, double y ) 2404 { 2405 dprintf(("CRTDLL: _nextafter not implemented.\n")); 2406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2407 return FALSE; 2408 } 2409 2410 2411 /********************************************************************* 2412 * _onexit (CRTDLL.236) 2413 */ 2414 onexit_t CDECL CRTDLL__onexit(onexit_t t) 2415 { 2416 dprintf(("CRTDLL: _onexit\n")); 2417 return (_onexit(t)); 1755 2418 } 1756 2419 … … 1874 2537 } 1875 2538 2539 2540 /********************************************************************* 2541 * _putch (CRTDLL.250) 2542 */ 2543 INT CDECL CRTDLL__putch( int i ) 2544 { 2545 dprintf(("CRTDLL: _putch\n")); 2546 return (_putch(i)); 2547 } 2548 2549 2550 /********************************************************************* 2551 * _putenv (CRTDLL.251) 2552 */ 2553 INT CDECL CRTDLL__putenv(const char *s) 2554 { 2555 dprintf(("CRTDLL: _putenv\n")); 2556 return (_putenv(s)); 2557 } 2558 2559 2560 /********************************************************************* 2561 * _putw (CRTDLL.252) 2562 */ 2563 INT CDECL CRTDLL__putw( int binint, FILE *fp ) 2564 { 2565 dprintf(("CRTDLL: _putw not implemented.\n")); 2566 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2567 return FALSE; 2568 } 2569 2570 1876 2571 /********************************************************************* 1877 2572 * _read (CRTDLL.254) … … 1886 2581 1887 2582 /********************************************************************* 1888 * _putw (CRTDLL.252) 1889 */ 1890 INT CDECL CRTDLL__putw( int binint, FILE *fp ) 1891 { 1892 dprintf(("CRTDLL: _putw not implemented.\n")); 1893 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1894 return FALSE; 2583 * _rmdir (CRTDLL.255) 2584 */ 2585 INT CDECL CRTDLL__rmdir(const char *s1) 2586 { 2587 dprintf(("CRTDLL: _rmdir\n")); 2588 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2589 return FALSE; 2590 // return (_rmdir(s1)); 2591 } 2592 2593 2594 /********************************************************************* 2595 * _rmtmp (CRTDLL.256) 2596 */ 2597 INT CDECL CRTDLL__rmtmp(void) 2598 { 2599 dprintf(("CRTDLL: _rmtmp\n")); 2600 return(_rmtmp()); 1895 2601 } 1896 2602 … … 1914 2620 return (_rotr(value, shift)); 1915 2621 } 1916 2622 2623 2624 /********************************************************************* 2625 * CRTDLL__scalb (CRTDLL.259) 2626 */ 2627 double CDECL CRTDLL__scalb( double x, long exp ) 2628 { 2629 dprintf(("CRTDLL: _scalb not implemented.\n")); 2630 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2631 return FALSE; 2632 } 2633 1917 2634 1918 2635 /********************************************************************* … … 1922 2639 { 1923 2640 dprintf(("CRTDLL: _searchenv not implemented.\n")); 2641 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2642 } 2643 2644 2645 /********************************************************************* 2646 * CRTDLL__seterrormode (CRTDLL.261) 2647 */ 2648 void CDECL CRTDLL__seterrormode(int i) 2649 { 2650 dprintf(("CRTDLL: _seterrormode not implemented.\n")); 1924 2651 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1925 2652 } … … 1938 2665 /********************************************************************* 1939 2666 * _setmode (CRTDLL.263) 1940 * FIXME: At present we ignore the request to translate CR/LF to LF.1941 *1942 * We allways translate when we read with fgets, we never do with fread1943 *1944 2667 */ 1945 2668 INT CDECL CRTDLL__setmode( INT fh,INT mode) 1946 2669 { 1947 /* FIXME */ 1948 dprintf(("on fhandle %d mode %s, STUB.\n", 1949 fh,(mode=O_TEXT)?"O_TEXT": 1950 (mode=O_BINARY)?"O_BINARY":"UNKNOWN")); 1951 return -1; 2670 dprintf(("CRTDLL: _setmode\n")); 2671 return (_setmode(fh, mode)); 1952 2672 } 1953 2673 … … 1964 2684 1965 2685 /********************************************************************* 2686 * CRTDLL__sopen (CRTDLL.268) 2687 */ 2688 int CDECL CRTDLL__sopen( const char *s, int i1, int i2, ... ) 2689 { 2690 dprintf(("CRTDLL: _sopen not implemented.\n")); 2691 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2692 return FALSE; 2693 } 2694 2695 2696 /********************************************************************* 2697 * CRTDLL__spawnl (CRTDLL.269) 2698 */ 2699 int CDECL CRTDLL__spawnl( int i, char *s1, char *s2, ... ) 2700 { 2701 dprintf(("CRTDLL: _spawnl not implemented.\n")); 2702 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2703 return FALSE; 2704 } 2705 2706 2707 /********************************************************************* 2708 * CRTDLL__spawnle (CRTDLL.270) 2709 */ 2710 int CDECL CRTDLL__spawnle( int i, char *s1, char *s2, ... ) 2711 { 2712 dprintf(("CRTDLL: _spawnle not implemented.\n")); 2713 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2714 return FALSE; 2715 } 2716 2717 2718 /********************************************************************* 2719 * CRTDLL__spawnlp (CRTDLL.271) 2720 */ 2721 int CDECL CRTDLL__spawnlp( int i, char *s1, char *s2, ... ) 2722 { 2723 dprintf(("CRTDLL: _spawnlp not implemented.\n")); 2724 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2725 return FALSE; 2726 } 2727 2728 2729 /********************************************************************* 2730 * CRTDLL__spawnlpe (CRTDLL.272) 2731 */ 2732 int CDECL CRTDLL__spawnlpe( int i, char *s1, char *s2, ... ) 2733 { 2734 dprintf(("CRTDLL: _spawnlpe not implemented.\n")); 2735 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2736 return FALSE; 2737 } 2738 2739 2740 /********************************************************************* 2741 * CRTDLL__spawnv (CRTDLL.273) 2742 */ 2743 int CDECL CRTDLL__spawnv( int i, char *s1, char ** s2 ) 2744 { 2745 dprintf(("CRTDLL: _spawnv\n")); 2746 return (_spawnv(i, s1, s2)); 2747 } 2748 2749 2750 /********************************************************************* 2751 * CRTDLL__spawnve (CRTDLL.274) 2752 */ 2753 int CDECL CRTDLL__spawnve( int i, char *s1, char ** s2, char ** s3 ) 2754 { 2755 dprintf(("CRTDLL: _spawnve\n")); 2756 return (_spawnve(i, s1, s2, s3)); 2757 } 2758 2759 2760 /********************************************************************* 2761 * CRTDLL__spawnvp (CRTDLL.275) 2762 */ 2763 int CDECL CRTDLL__spawnvp( int i, char *s1, char ** s2 ) 2764 { 2765 dprintf(("CRTDLL: _spawnvp\n")); 2766 return (_spawnvp(i, s1, s2)); 2767 } 2768 2769 /********************************************************************* 2770 * CRTDLL__spawnv (CRTDLL.276) 2771 */ 2772 int CDECL CRTDLL__spawnvpe( int i, char *s1, char ** s2, char ** s3 ) 2773 { 2774 dprintf(("CRTDLL: _spawnvpe\n")); 2775 return (_spawnvpe(i, s1, s2, s3)); 2776 } 2777 2778 2779 /********************************************************************* 1966 2780 * CRTDLL__stat (CRTDLL.278) 1967 2781 */ … … 1974 2788 1975 2789 /********************************************************************* 2790 * CRTDLL__statusfp (CRTDLL.279) 2791 */ 2792 unsigned int CDECL CRTDLL__statusfp( void ) 2793 { 2794 dprintf(("CRTDLL: _statusfp\n")); 2795 return (_status87()); 2796 } 2797 2798 2799 /********************************************************************* 1976 2800 * CRTDLL__strdate (CRTDLL.281) 1977 2801 */ … … 2000 2824 dprintf(("CRTDLL: _strdup\n")); 2001 2825 return HEAP_strdupA(GetProcessHeap(),0,ptr); 2826 } 2827 2828 2829 /********************************************************************* 2830 * CRTDLL__strerror (CRTDLL.284) 2831 */ 2832 char * CDECL CRTDLL__strerror(const char *s) 2833 { 2834 dprintf(("CRTDLL: _strerror not implemented\n")); 2835 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2836 return FALSE; 2837 // return (_strerror(s)); 2002 2838 } 2003 2839 … … 2109 2945 2110 2946 /********************************************************************* 2947 * CRTDLL__swab (CRTDLL.299) 2948 */ 2949 void CDECL CRTDLL__swab(char *s1, char *s2, int i) 2950 { 2951 dprintf(("CRTDLL: _swab\n")); 2952 _swab(s1, s2, i); 2953 } 2954 2955 2956 /********************************************************************* 2957 * CRTDLL__tell (CRTDLL.302) 2958 */ 2959 long CDECL CRTDLL__tell( int i ) 2960 { 2961 dprintf(("CRTDLL: _tell\n")); 2962 return (_tell(i)); 2963 } 2964 2965 2966 /********************************************************************* 2111 2967 * CRTDLL__tempnam (CRTDLL.303) 2112 2968 */ … … 2135 2991 dprintf(("CRTDLL: _toupper\n")); 2136 2992 return (_toupper(n)); 2993 } 2994 2995 2996 /********************************************************************* 2997 * CRTDLL__tzset (CRTDLL.308) 2998 */ 2999 void CDECL CRTDLL__tzset( void ) 3000 { 3001 dprintf(("CRTDLL: _tzset not implemented.\n")); 3002 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 3003 } 3004 3005 3006 /********************************************************************* 3007 * CRTDLL__umask (CRTDLL.310) 3008 */ 3009 int CDECL CRTDLL__umask( int i ) 3010 { 3011 dprintf(("CRTDLL: _umask\n")); 3012 return (_umask(i)); 3013 } 3014 3015 3016 /********************************************************************* 3017 * CRTDLL__ungetch (CRTDLL.311) 3018 */ 3019 int CDECL CRTDLL__ungetch( int i ) 3020 { 3021 dprintf(("CRTDLL: _ungetch\n")); 3022 return (_ungetch(i)); 2137 3023 } 2138 3024 … … 2273 3159 2274 3160 /********************************************************************* 3161 * _y0 (CRTDLL.332) 3162 */ 3163 double CDECL CRTDLL__y0(double x) 3164 { 3165 dprintf(("CRTDLL: _y0\n")); 3166 return (_y0(x)); 3167 } 3168 3169 3170 /********************************************************************* 3171 * _y1 (CRTDLL.333) 3172 */ 3173 double CDECL CRTDLL__y1(double x) 3174 { 3175 dprintf(("CRTDLL: _y1\n")); 3176 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 3177 return (_y1(x)); 3178 } 3179 3180 3181 /********************************************************************* 3182 * _yn (CRTDLL.334) 3183 */ 3184 double CDECL CRTDLL__yn(int i, double x) 3185 { 3186 dprintf(("CRTDLL: _yn\n")); 3187 return (_yn(i, x)); 3188 } 3189 3190 3191 /********************************************************************* 2275 3192 * isleadbyte (CRTDLL.335) 2276 3193 */ -
trunk/src/crtdll/crtdll.def
r1083 r1118 1 ; $Id: crtdll.def,v 1. 6 1999-09-28 13:26:35 sandervl Exp $1 ; $Id: crtdll.def,v 1.7 1999-10-04 09:55:55 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 104 104 ??3@YAXPAX@Z = _CRTDLL_delete @2 105 105 ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z = _CRTDLL_set_new_handler @3 106 ; _CIacos@4107 ; _CIasin@5108 ; _CIatan@6109 ; _CIatan2@7110 ; _CIcos@8111 ; _CIcosh@9112 ; _CIexp@10113 ; _CIfmod@11114 ; _CIlog@12115 ; _CIlog10@13106 _CIacos = _CRTDLL__CIacos @4 107 _CIasin = _CRTDLL__CIasin @5 108 _CIatan = _CRTDLL__CIatan @6 109 _CIatan2 = _CRTDLL__CIatan2 @7 110 _CIcos = _CRTDLL__CIcos @8 111 _CIcosh = _CRTDLL__CIcosh @9 112 _CIexp = _CRTDLL__CIexp @10 113 _CIfmod = _CRTDLL__CIfmod @11 114 _CIlog = _CRTDLL__CIlog @12 115 _CIlog10 = _CRTDLL__CIlog10 @13 116 116 _CIpow = NTDLL__CIpow @14 117 ; _CIsin@15118 ; _CIsinh@16119 ; _CIsqrt@17120 ; _CItan@18121 ; _CItanh@19117 _CIsin = _CRTDLL__CIsin @15 118 _CIsinh = _CRTDLL__CIsinh @16 119 _CIsqrt = _CRTDLL__CIsqrt @17 120 _CItan = _CRTDLL__CItan @18 121 _CItanh = _CRTDLL__CItanh @19 122 122 ; _HUGE_dll @20 123 123 _XcptFilter = _CRTDLL__XcptFilter @21 … … 126 126 __argv_dll = CRTDLL_argv_dll @24 127 127 __dllonexit = _CRTDLL___dllonexit @25 128 ; __doserrno@26128 __doserrno = _CRTDLL___doserrno @26 129 129 ; __fpecode @27 130 130 __isascii = _CRTDLL___isascii @28 … … 145 145 _baseminor_dll = CRTDLL_baseminor_dll @43 146 146 _baseversion_dll = CRTDLL_baseversion_dll @44 147 ; _beep@45147 _beep = _CRTDLL__beep @45 148 148 _beginthread = _CRTDLL__beginthread @46 149 149 _c_exit = _CRTDLL__c_exit @47 150 ; _cabs@48150 _cabs = _CRTDLL__cabs @48 151 151 _cexit = _CRTDLL__cexit @49 152 ; _cgets@50152 _cgets = _CRTDLL__cgets @50 153 153 _chdir = _CRTDLL__chdir @51 154 154 _chdrive = _CRTDLL__chdrive @52 155 ; _chgsign@53156 ; _chmod@54157 ; _chsize@55158 ; _clearfp@56155 _chgsign = _CRTDLL__chgsign @53 156 _chmod = _CRTDLL__chmod @54 157 _chsize = _CRTDLL__chsize @55 158 _clearfp = _CRTDLL__clearfp @56 159 159 _close = _CRTDLL__close @57 160 160 ; _commit @58 … … 162 162 _control87 = _CRTDLL__control87 @60 163 163 _controlfp = _CRTDLL__controlfp @61 164 ; _copysign@62165 ; _cprintf@63164 _copysign = _CRTDLL__copysign @62 165 _cprintf = _CRTDLL__cprintf @63 166 166 ; _cpumode_dll @64 167 ; _cputs@65168 ; _creat@66169 ; _cscanf@67167 _cputs = _CRTDLL__cputs @65 168 _creat = _CRTDLL__creat @66 169 _cscanf = _CRTDLL__cscanf @67 170 170 ; _ctype @68 171 171 _cwait = _CRTDLL__cwait @69 172 ; _daylight_dll@70172 _daylight_dll = CRTDLL_daylight_dll @70 173 173 _dup = _CRTDLL__dup @71 174 174 _dup2 = _CRTDLL__dup2 @72 … … 179 179 _errno = _CRTDLL__errno @77 180 180 _except_handler2 = _CRTDLL__except_handler2 @78 181 ; _execl@79182 ; _execle@80183 ; _execlp@81184 ; _execlpe@82185 ; _execv@83186 ; _execve@84187 ; _execvp@85188 ; _execvpe@86181 _execl = _CRTDLL__execl @79 182 _execle = _CRTDLL__execle @80 183 _execlp = _CRTDLL__execlp @81 184 _execlpe = _CRTDLL__execlpe @82 185 _execv = _CRTDLL__execv @83 186 _execve = _CRTDLL__execve @84 187 _execvp = _CRTDLL__execvp @85 188 _execvpe = _CRTDLL__execvpe @86 189 189 _exit = _CRTDLL__exit @87 190 190 _expand = _CRTDLL__expand @88 191 ; _fcloseall@89191 _fcloseall = _CRTDLL__fcloseall @89 192 192 _fcvt = _CRTDLL__fcvt @90 193 193 _fdopen = _CRTDLL__fdopen @91 194 194 _fgetchar = _CRTDLL__fgetchar @92 195 195 _fgetwchar = _CRTDLL__fgetwchar @93 196 ; _filbuf@94197 ; _fileinfo_dll@95198 ; _filelength@96199 ; _fileno@97196 _filbuf = _CRTDLL__filbuf @94 197 _fileinfo_dll = CRTDLL_fileinfo_dll @95 198 _filelength = _CRTDLL__filelength @96 199 _fileno = _CRTDLL__fileno @97 200 200 _findclose = _CRTDLL__findclose @98 201 201 _findfirst = _CRTDLL__findfirst @99 … … 203 203 204 204 _finite = _CRTDLL__finite @101 205 ; _flsbuf@102206 ; _flushall@103205 _flsbuf = _CRTDLL__flsbuf @102 206 _flushall = _CRTDLL__flushall @103 207 207 _fmode_dll = CRTDLL_fmode_dll @104 208 ; _fpclass@105209 ; _fpieee_flt@106208 _fpclass = _CRTDLL__fpclass @105 209 _fpieee_flt = _CRTDLL__fpieee_flt @106 210 210 _fpreset = _CRTDLL__fpreset @107 211 211 _fputchar = _CRTDLL__fputchar @108 … … 216 216 _ftol = NTDLL__ftol @113 217 217 _fullpath = _CRTDLL__fullpath @114 218 ; _futime@115218 _futime = _CRTDLL__futime @115 219 219 _gcvt = _CRTDLL__gcvt @116 220 220 _get_osfhandle = _CRTDLL__get_osfhandle @117 … … 226 226 ; _getdllprocaddr @123 227 227 _getdrive = _CRTDLL__getdrive @124 228 ; _getdrives@125229 ; _getpid@126228 _getdrives = _CRTDLL__getdrives @125 229 _getpid = _CRTDLL__getpid @126 230 230 ; _getsystime @127 231 231 _getw = _CRTDLL__getw @128 … … 235 235 _heapset = _CRTDLL__heapset @132 236 236 _heapwalk = _CRTDLL__heapwalk @133 237 ; _hypot @134 238 ; _initterm = _CRTDLL__initterm @135 237 _hypot = _CRTDLL__hypot @134 239 238 _initterm = _DLL_InitTerm @135 240 239 _iob = CRTDLL_iob @136 … … 264 263 _ismbcsymbol = _CRTDLL__ismbcsymbol @160 265 264 _ismbcupper = _CRTDLL__ismbcupper @161 266 ; _ismbslead@162267 ; _ismbstrail@163268 ; _isnan@164265 _ismbslead = _CRTDLL__ismbslead @162 266 _ismbstrail = _CRTDLL__ismbstrail @163 267 _isnan = _CRTDLL__isnan @164 269 268 _itoa = NTDLL__itoa @165 270 ; _j0@166271 ; _j1@167272 ; _jn@168273 ; _kbhit@169274 ; _lfind@170269 _j0 = _CRTDLL__j0 @166 270 _j1 = _CRTDLL__j1 @167 271 _jn = _CRTDLL__jn @168 272 _kbhit = _CRTDLL__kbhit @169 273 _lfind = _CRTDLL__lfind @170 275 274 ; _loaddll @171 276 275 _local_unwind2 = _CRTDLL__local_unwind2 @172 277 276 _locking = _CRTDLL__locking @173 278 ; _logb@174277 _logb = _CRTDLL__logb @174 279 278 _lrotl = _CRTDLL__lrotl @175 280 279 _lrotr = _CRTDLL__lrotr @176 281 ; _lsearch@177280 _lsearch = _CRTDLL__lsearch @177 282 281 _lseek = _CRTDLL__lseek @178 283 282 _ltoa = NTDLL__ltoa @179 … … 331 330 _mbsstr = _CRTDLL__mbsstr @226 332 331 _mbstok = _CRTDLL__mbstok @227 333 ; _mbstrlen@228332 _mbstrlen = _CRTDLL__mbstrlen @228 334 333 _mbsupr = _CRTDLL__mbsupr @229 335 ; _memccpy@230334 _memccpy = _CRTDLL__memccpy @230 336 335 _memicmp = NTDLL__memicmp @231 337 336 _mkdir = _CRTDLL__mkdir @232 338 337 _mktemp = _CRTDLL__mktemp @233 339 338 _msize = _CRTDLL__msize @234 340 ; _nextafter@235341 ; _onexit@236339 _nextafter = _CRTDLL__nextafter @235 340 _onexit = _CRTDLL__onexit @236 342 341 _open = _CRTDLL__open @237 343 342 _open_osfhandle = _CRTDLL__open_osfhandle @238 … … 353 352 _popen = _CRTDLL__popen @248 354 353 ; _purecall @249 355 ; _putch@250356 ; _putenv@251354 _putch = _CRTDLL__putch @250 355 _putenv = _CRTDLL__putenv @251 357 356 _putw = _CRTDLL__putw @252 358 357 ; _pwctype_dll @253 359 358 _read = _CRTDLL__read @254 360 ; _rmdir@255361 ; _rmtmp@256359 _rmdir = _CRTDLL__rmdir @255 360 _rmtmp = _CRTDLL__rmtmp @256 362 361 _rotl = _CRTDLL__rotl @257 363 362 _rotr = _CRTDLL__rotr @258 364 ; _scalb@259363 _scalb = _CRTDLL__scalb @259 365 364 _searchenv = _CRTDLL__searchenv @260 366 ; _seterrormode@261365 _seterrormode = _CRTDLL__seterrormode @261 367 366 _setjmp = _CRTDLL__setjmp @262 368 _setmode @263367 _setmode = _CRTDLL__setmode @263 369 368 ; _setsystime @264 370 369 _sleep = _CRTDLL__sleep @265 371 370 _snprintf = NTDLL__snprintf @266 372 371 _snwprintf = NTDLL__snwprintf @267 373 ; _sopen@268374 ; _spawnl@269375 ; _spawnle@270376 ; _spawnlp@271377 ; _spawnlpe@272378 ; _spawnv@273379 ; _spawnve@274380 ; _spawnvp@275381 ; _spawnvpe@276372 _sopen = _CRTDLL__sopen @268 373 _spawnl = _CRTDLL__spawnl @269 374 _spawnle = _CRTDLL__spawnle @270 375 _spawnlp = _CRTDLL__spawnlp @271 376 _spawnlpe = _CRTDLL__spawnlpe @272 377 _spawnv = _CRTDLL__spawnv @273 378 _spawnve = _CRTDLL__spawnve @274 379 _spawnvp = _CRTDLL__spawnvp @275 380 _spawnvpe = _CRTDLL__spawnvpe @276 382 381 _splitpath = NTDLL__splitpath @277 383 382 _stat = _CRTDLL__stat @278 384 ; _statusfp@279383 _statusfp = _CRTDLL__statusfp @279 385 384 _strcmpi = NTDLL__strcmpi @280 386 385 _strdate = _CRTDLL__strdate @281 387 386 _strdec = _CRTDLL__strdec @282 388 387 _strdup = _CRTDLL__strdup @283 389 ; _strerror@284388 _strerror = _CRTDLL__strerror @284 390 389 _stricmp = NTDLL__stricmp @285 391 390 _stricoll = _CRTDLL__stricoll @286 … … 402 401 _strtime = _CRTDLL__strtime @297 403 402 _strupr = NTDLL__strupr @298 404 ; _swab@299405 406 ; _sys_errlist@300407 ; _sys_nerr_dll@301408 ; _tell@302403 _swab = _CRTDLL__swab @299 404 405 _sys_errlist = CRTDLL_sys_errlist @300 406 _sys_nerr_dll = CRTDLL_sys_nerr_dll @301 407 _tell = _CRTDLL__tell @302 409 408 _tempnam = _CRTDLL__tempnam @303 410 ; _timezone_dll@304409 _timezone_dll = CRTDLL_timezone_dll @304 411 410 _tolower = _CRTDLL__tolower @305 412 411 _toupper = _CRTDLL__toupper @306 413 ; _tzname@307414 ; _tzset@308412 _tzname = CRTDLL_tzname @307 413 _tzset = _CRTDLL__tzset @308 415 414 _ultoa = NTDLL__ultoa @309 416 ; _umask@310417 ; _ungetch@311415 _umask = _CRTDLL__umask @310 416 _ungetch = _CRTDLL__ungetch @311 418 417 _unlink = _CRTDLL__unlink @312 419 418 ; _unloaddll @313 … … 436 435 _wtoi = NTDLL__wtoi @330 437 436 _wtol = NTDLL__wtol @331 438 ; _y0@332439 ; _y1@333440 ; _yn@334437 _y0 = _CRTDLL__y0 @332 438 _y1 = _CRTDLL__y1 @333 439 _yn = _CRTDLL__yn @334 441 440 abort = _CRTDLL_abort @335 442 441 abs = NTDLL_abs @336 -
trunk/src/crtdll/crtinc.h
r1012 r1118 1 /* $Id: crtinc.h,v 1. 3 1999-09-23 09:38:04sandervl Exp $ */1 /* $Id: crtinc.h,v 1.4 1999-10-04 09:55:56 sandervl Exp $ */ 2 2 3 3 /* Definitions for the CRTDLL library (CRTDLL.DLL) … … 49 49 CRTDLL_FILE * CDECL CRTDLL__fdopen(INT handle, LPCSTR mode); 50 50 51 UINT CRTDLL_argc_dll; /* CRTDLL.23 */ 52 LPSTR *CRTDLL_argv_dll; /* CRTDLL.24 */ 53 LPSTR CRTDLL_acmdln_dll; /* CRTDLL.38 */ 54 UINT CRTDLL_basemajor_dll; /* CRTDLL.42 */ 55 UINT CRTDLL_baseminor_dll; /* CRTDLL.43 */ 56 UINT CRTDLL_baseversion_dll; /* CRTDLL.44 */ 57 UINT CRTDLL_commode_dll; /* CRTDLL.59 */ 58 LPSTR CRTDLL_environ_dll; /* CRTDLL.75 */ 59 UINT CRTDLL_fmode_dll; /* CRTDLL.104 */ 60 UINT CRTDLL_osmajor_dll; /* CRTDLL.241 */ 61 UINT CRTDLL_osminor_dll; /* CRTDLL.242 */ 62 UINT CRTDLL_osmode_dll; /* CRTDLL.243 */ 63 UINT CRTDLL_osver_dll; /* CRTDLL.244 */ 64 UINT CRTDLL_osversion_dll; /* CRTDLL.245 */ 65 UINT CRTDLL_winmajor_dll; /* CRTDLL.329 */ 66 UINT CRTDLL_winminor_dll; /* CRTDLL.330 */ 67 UINT CRTDLL_winver_dll; /* CRTDLL.331 */ 51 52 53 UINT CRTDLL_argc_dll; /* CRTDLL.23 */ 54 LPSTR *CRTDLL_argv_dll; /* CRTDLL.24 */ 55 LPSTR CRTDLL_acmdln_dll; /* CRTDLL.38 */ 56 UINT CRTDLL_basemajor_dll; /* CRTDLL.42 */ 57 UINT CRTDLL_baseminor_dll; /* CRTDLL.43 */ 58 UINT CRTDLL_baseversion_dll; /* CRTDLL.44 */ 59 UINT CRTDLL_commode_dll; /* CRTDLL.59 */ 60 UINT CRTDLL_daylight_dll; /* CRTDLL.70 */ 61 LPSTR CRTDLL_environ_dll; /* CRTDLL.75 */ 62 LPSTR CRTDLL_fileinfo_dll; /* CRTDLL.95 */ 63 UINT CRTDLL_fmode_dll; /* CRTDLL.104 */ 64 UINT CRTDLL_osmajor_dll; /* CRTDLL.239 */ 65 UINT CRTDLL_osminor_dll; /* CRTDLL.240 */ 66 UINT CRTDLL_osmode_dll; /* CRTDLL.241 */ 67 UINT CRTDLL_osver_dll; /* CRTDLL.242 */ 68 UINT CRTDLL_osversion_dll; /* CRTDLL.243 */ 69 UINT CRTDLL_sys_errlist; /* CRTDLL.300 */ 70 UINT CRTDLL_sys_nerr_dll; /* CRTDLL.301 */ 71 UINT CRTDLL_timezone_dll; /* CRTDLL.304 */ 72 LPSTR CRTDLL_tzname; /* CRTDLL.307 */ 73 UINT CRTDLL_winmajor_dll; /* CRTDLL.326 */ 74 UINT CRTDLL_winminor_dll; /* CRTDLL.327 */ 75 UINT CRTDLL_winver_dll; /* CRTDLL.328 */ 68 76 69 77 INT CDECL NTDLL__wcsicmp( LPCWSTR str1, LPCWSTR str2 );
Note:
See TracChangeset
for help on using the changeset viewer.
