- Timestamp:
- Dec 20, 1999, 11:12:43 AM (26 years ago)
- Location:
- trunk/src/msvcrt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msvcrt/msvcrt.cpp
r2056 r2153 1 /* $Id: msvcrt.cpp,v 1. 9 1999-12-11 13:35:52 sandervl Exp $ */1 /* $Id: msvcrt.cpp,v 1.10 1999-12-20 10:12:42 sandervl Exp $ */ 2 2 3 3 /* … … 13 13 #include <odinwrap.h> 14 14 #include <wchar.h> 15 #include <math.h> 15 16 #include <heapstring.h> 16 17 #include <crtdll.h> … … 974 975 975 976 /********************************************************************* 977 * _beginthreadex (MSVCRT.167) 978 */ 979 unsigned long CDECL MSVCRT__beginthreadex( void *security, unsigned stack_size, 980 unsigned ( __stdcall *start_address )( void * ), void *arglist, 981 unsigned initflag, unsigned *thrdaddr ) 982 { 983 dprintf(("MSVCRT: _beginthreadex not implemented.\n")); 984 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 985 return FALSE; 986 } 987 988 989 /********************************************************************* 990 * _endthreadex (MSVCRT.198) 991 */ 992 void CDECL MSVCRT__endthreadex(unsigned retval) 993 { 994 dprintf(("MSVCRT: _endthreadex not implemented.\n")); 995 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 996 } 997 998 999 /********************************************************************* 976 1000 * _except_handler3 (MSVCRT.203) 977 1001 */ … … 986 1010 987 1011 /********************************************************************* 1012 * _filelengthi64 (MSVCRT.222) 1013 */ 1014 __int64 CDECL MSVCRT__filelengthi64(int handle) 1015 { 1016 dprintf(("MSVCRT: _filelengthi64 not implemented.\n")); 1017 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1018 return FALSE; 1019 } 1020 1021 1022 /********************************************************************* 1023 * _findfirsti64 (MSVCRT.226) 1024 */ 1025 __int64 CDECL MSVCRT__findfirsti64( char *filespec, struct _finddata_t *fileinfo) 1026 { 1027 dprintf(("MSVCRT: _findfirsti64 not implemented.\n")); 1028 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1029 return FALSE; 1030 } 1031 1032 1033 /********************************************************************* 1034 * _findnexti64 (MSVCRT.228) 1035 */ 1036 __int64 CDECL MSVCRT__findnexti64(long handle, struct _finddata_t *fileinfo) 1037 { 1038 dprintf(("MSVCRT: _findnexti64 not implemented.\n")); 1039 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1040 return FALSE; 1041 } 1042 1043 1044 /********************************************************************* 1045 * _fstati64 (MSVCRT.240) 1046 */ 1047 __int64 CDECL MSVCRT__fstati64(int handle) 1048 { 1049 dprintf(("MSVCRT: _fstati64 not implemented.\n")); 1050 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1051 return FALSE; 1052 } 1053 1054 1055 /********************************************************************* 988 1056 * _get_sbh_threshold (MSVCRT.247) 989 1057 */ … … 1151 1219 1152 1220 /********************************************************************* 1221 * _lseeki64 (MSVCRT.326) 1222 */ 1223 __int64 CDECL MSVCRT__lseeki64( int handle, __int64 offset, int origin ) 1224 { 1225 dprintf(("MSVCRT: _lseeki64 not implemented.\n")); 1226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1227 return FALSE; 1228 } 1229 1230 1231 /********************************************************************* 1153 1232 * _ltow (MSVCRT.328) 1154 1233 */ … … 1239 1318 1240 1319 /********************************************************************* 1320 * _setmbcp (MSVCRT.427) 1321 */ 1322 int CDECL MSVCRT__setmbcp( int codepage ) 1323 { 1324 dprintf(("MSVCRT: _setmbcp not implemented.\n")); 1325 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1326 return FALSE; 1327 } 1328 1329 1330 /********************************************************************* 1331 * _stati64 (MSVCRT.444) 1332 */ 1333 __int64 CDECL MSVCRT__stati64( const char *path, struct _stat *buffer ) 1334 { 1335 dprintf(("MSVCRT: _stati64 not implemented.\n")); 1336 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1337 return FALSE; 1338 } 1339 1340 1341 /********************************************************************* 1241 1342 * _strncoll (MSVCRT.453) 1242 1343 */ … … 1255 1356 { 1256 1357 dprintf(("MSVCRT: _strnicoll not implemented.\n")); 1358 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1359 return FALSE; 1360 } 1361 1362 1363 /********************************************************************* 1364 * _telli64 (MSVCRT.465) 1365 */ 1366 __int64 CDECL MSVCRT__telli64( int handle ) 1367 { 1368 dprintf(("MSVCRT: _telli64 not implemented.\n")); 1257 1369 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1258 1370 return FALSE; … … 1507 1619 1508 1620 /********************************************************************* 1621 * _wfindfirsti64 (MSVCRT.513) 1622 */ 1623 __int64 CDECL MSVCRT__wfindfirsti64( wchar_t *filespec, struct _wfinddata_t *fileinfo ) 1624 { 1625 dprintf(("MSVCRT: _wfindfirsti64 not implemented.\n")); 1626 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1627 return FALSE; 1628 } 1629 1630 1631 /********************************************************************* 1509 1632 * _wfindnext (MSVCRT.514) 1510 1633 */ … … 2019 2142 return FALSE; 2020 2143 } 2144 2145 /**************************************************************************/ 2146 /* MSVCRT20 & MSVCRT40 only functions */ 2147 /**************************************************************************/ 2148 2149 2150 /********************************************************************* 2151 * _matherr (MSVCRT20.677) 2152 */ 2153 int CDECL MSVCRT__matherr( struct exception *except ) 2154 { 2155 dprintf(("MSVCRT20: _matherr\n")); 2156 return _matherr(except); 2157 } -
trunk/src/msvcrt/msvcrt.def
r1896 r2153 1 ; $Id: msvcrt.def,v 1. 9 1999-11-30 19:44:04sandervl Exp $1 ; $Id: msvcrt.def,v 1.10 1999-12-20 10:12:43 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 665 665 _beep = CRTDLL__beep @165 666 666 _beginthread = CRTDLL__beginthread @166 667 ; _beginthreadex@167667 _beginthreadex = _MSVCRT__beginthreadex @167 668 668 _c_exit = CRTDLL__c_exit @168 669 669 _cabs = CRTDLL__cabs @169 … … 695 695 _ecvt = CRTDLL__ecvt @196 696 696 _endthread = CRTDLL__endthread @197 697 ; _endthreadex@198697 _endthreadex = _MSVCRT__endthreadex @198 698 698 _environ = MSVCRT__environ @199 699 699 … … 721 721 _fileinfo = MSVCRT__fileinfo @220 722 722 _filelength = CRTDLL__filelength @221 723 ; _filelengthi64@222723 _filelengthi64 = _MSVCRT__filelengthi64 @222 724 724 _fileno = CRTDLL__fileno @223 725 725 _findclose = CRTDLL__findclose @224 726 726 _findfirst = CRTDLL__findfirst @225 727 ; _findfirsti64@226727 _findfirsti64 = _MSVCRT__findfirsti64 @226 728 728 _findnext = CRTDLL__findnext @227 729 ; _findnexti64@228729 _findnexti64 = _MSVCRT__findnexti64 @228 730 730 _finite = CRTDLL__finite @229 731 731 _flsbuf = CRTDLL__flsbuf @230 … … 739 739 _fsopen = CRTDLL__fsopen @238 740 740 _fstat = CRTDLL__fstat @239 741 ; _fstati64@240741 _fstati64 = _MSVCRT__fstati64 @240 742 742 _ftime = CRTDLL__ftime @241 743 743 _ftol = NTDLL__ftol @242 … … 826 826 _lsearch = CRTDLL__lsearch @324 827 827 _lseek = CRTDLL__lseek @325 828 ; _lseeki64@326828 _lseeki64 = _MSVCRT__lseeki64 @326 829 829 _ltoa = NTDLL__ltoa @327 830 830 _ltow = _MSVCRT__ltow @328 … … 929 929 _setjmp3 = CRTDLL__setjmp @425 ; Not correct 930 930 _setmaxstdio = _MSVCRT__setmaxstdio @426 931 ; _setmbcp@427931 _setmbcp = _MSVCRT__setmbcp @427 932 932 _setmode @428 933 933 _setsystime = CRTDLL__setsystime @429 … … 946 946 _splitpath = NTDLL__splitpath @442 947 947 _stat = CRTDLL__stat @443 948 ; _stati64@444948 _stati64 = _MSVCRT__stati64 @444 949 949 _statusfp = CRTDLL__statusfp @445 950 950 _strcmpi = NTDLL__strcmpi @446 … … 967 967 _sys_nerr = MSVCRT__sys_nerr @463 968 968 _tell = CRTDLL__tell @464 969 ; _telli64@465969 _telli64 = _MSVCRT__telli64 @465 970 970 _tempnam = CRTDLL__tempnam @466 971 971 _timezone = MSVCRT__timezone @467 … … 1017 1017 _wfdopen = _MSVCRT__wfdopen @511 1018 1018 _wfindfirst = _MSVCRT__wfindfirst @512 1019 ; _wfindfirsti64@5131019 _wfindfirsti64 = _MSVCRT__wfindfirsti64 @513 1020 1020 _wfindnext = _MSVCRT__wfindnext @514 1021 1021 ; _wfindnexti64 = _MSVCRT__wfindnexti64 @515 -
trunk/src/msvcrt/msvcrt20.def
r1896 r2153 1 ; $Id: msvcrt20.def,v 1. 1 1999-11-30 19:44:05sandervl Exp $1 ; $Id: msvcrt20.def,v 1.2 1999-12-20 10:12:43 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 599 599 _beep = CRTDLL__beep @528 600 600 _beginthread = CRTDLL__beginthread @529 601 ; _beginthreadex@530601 _beginthreadex = _MSVCRT__beginthreadex @530 602 602 _c_exit = CRTDLL__c_exit @531 603 603 _cabs = CRTDLL__cabs @532 … … 627 627 _ecvt = CRTDLL__ecvt @556 628 628 _endthread = CRTDLL__endthread @557 629 ; _endthreadex@558629 _endthreadex = _MSVCRT__endthreadex @558 630 630 _environ = MSVCRT__environ @559 631 631 _eof = CRTDLL__eof @560 … … 748 748 _ltow = _MSVCRT__ltow @675 749 749 _makepath = CRTDLL__makepath @676 750 ; _matherr@677750 _matherr = _MSVCRT__matherr @677 751 751 _mbbtombc = CRTDLL__mbbtombc @678 752 752 _mbbtype = CRTDLL__mbbtype @679 … … 843 843 _setjmp = CRTDLL__setjmp @768 844 844 _setjmp3 = CRTDLL__setjmp @769 ; Not correct 845 ; _setmbcp@770845 _setmbcp = _MSVCRT__setmbcp @770 846 846 _setmode @771 847 847 _setsystime = CRTDLL__setsystime @772 -
trunk/src/msvcrt/msvcrt40.def
r1896 r2153 1 ; $Id: msvcrt40.def,v 1. 1 1999-11-30 19:44:05sandervl Exp $1 ; $Id: msvcrt40.def,v 1.2 1999-12-20 10:12:43 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 652 652 _beep = CRTDLL__beep @581 653 653 _beginthread = CRTDLL__beginthread @582 654 ; _beginthreadex@583654 _beginthreadex = _MSVCRT__beginthreadex @583 655 655 _c_exit = CRTDLL__c_exit @584 656 656 _cabs = CRTDLL__cabs @585 … … 683 683 _ecvt = CRTDLL__ecvt @610 684 684 _endthread = CRTDLL__endthread @611 685 ; _endthreadex@612685 _endthreadex = _MSVCRT__endthreadex @612 686 686 _environ = MSVCRT__environ @613 687 687 _eof = CRTDLL__eof @614 … … 707 707 _fileinfo = MSVCRT__fileinfo @634 708 708 _filelength = CRTDLL__filelength @635 709 ; _filelengthi64@636709 _filelengthi64 = _MSVCRT__filelengthi64 @636 710 710 _fileno = CRTDLL__fileno @637 711 711 _findclose = CRTDLL__findclose @638 712 712 _findfirst = CRTDLL__findfirst @639 713 ; _findfirsti64@640713 _findfirsti64 = _MSVCRT__findfirsti64 @640 714 714 _findnext = CRTDLL__findnext @641 715 ; _findnexti64@642715 _findnexti64 = _MSVCRT__findnexti64 @642 716 716 _finite = CRTDLL__finite @643 717 717 _flsbuf = CRTDLL__flsbuf @644 … … 725 725 _fsopen = CRTDLL__fsopen @652 726 726 _fstat = CRTDLL__fstat @653 727 ; _fstati64@654727 _fstati64 = _MSVCRT__fstati64 @654 728 728 _ftime = CRTDLL__ftime @655 729 729 _ftol = NTDLL__ftol @656 … … 809 809 _lsearch = CRTDLL__lsearch @734 810 810 _lseek = CRTDLL__lseek @735 811 ; _lseeki64@736811 _lseeki64 = _MSVCRT__lseeki64 @736 812 812 _ltoa = NTDLL__ltoa @737 813 813 _ltow = _MSVCRT__ltow @738 … … 912 912 _setjmp3 = CRTDLL__setjmp @835 ; Not correct 913 913 _setmaxstdio = _MSVCRT__setmaxstdio @836 914 ; _setmbcp@837914 _setmbcp = _MSVCRT__setmbcp @837 915 915 _setmode @838 916 916 _setsystime = CRTDLL__setsystime @839 … … 929 929 _splitpath = NTDLL__splitpath @852 930 930 _stat = CRTDLL__stat @853 931 ; _stati64@854931 _stati64 = _MSVCRT__stati64 @854 932 932 _statusfp = CRTDLL__statusfp @855 933 933 _strcmpi = NTDLL__strcmpi @856 … … 950 950 _sys_nerr = MSVCRT__sys_nerr @873 951 951 _tell = CRTDLL__tell @874 952 ; _telli64@875952 _telli64 = _MSVCRT__telli64 @875 953 953 _tempnam = CRTDLL__tempnam @876 954 954 _timezone = MSVCRT__timezone @877 … … 997 997 _wfdopen = _MSVCRT__wfdopen @918 998 998 _wfindfirst = _MSVCRT__wfindfirst @919 999 ; _wfindfirsti64@920999 _wfindfirsti64 = _MSVCRT__wfindfirsti64 @920 1000 1000 _wfindnext = _MSVCRT__wfindnext @921 1001 1001 ; _wfindnexti64 = _MSVCRT__wfindnexti64 @922
Note:
See TracChangeset
for help on using the changeset viewer.