Changeset 965 for trunk/src/crtdll/crtdll.cpp
- Timestamp:
- Sep 18, 1999, 12:36:35 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/crtdll/crtdll.cpp
r916 r965 1 /* $Id: crtdll.cpp,v 1. 2 1999-09-13 09:05:13sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.3 1999-09-18 10:36:34 sandervl Exp $ */ 2 2 3 3 /* … … 31 31 #include <locale.h> 32 32 #include <signal.h> 33 #include <io.h> 34 #include <assert.h> 35 #include <process.h> 36 #include <float.h> 37 #include <conio.h> 38 #include <direct.h> 39 #include <malloc.h> 40 #include <sys\utime.h> 41 #include <sys\stat.h> 33 42 34 43 #include <crtdll.h> … … 138 147 } 139 148 149 150 /********************************************************************* 151 * CRTDLL___isascii (CRTDLL.28) 152 */ 153 int CDECL CRTDLL___isascii(int i) 154 { 155 dprintf(("CRTDLL: __isascii\n")); 156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 157 return FALSE; 158 } 159 160 161 /********************************************************************* 162 * CRTDLL___iscsym (CRTDLL.29) 163 */ 164 int CDECL CRTDLL___iscsym(int i) 165 { 166 dprintf(("CRTDLL: __iscsym\n")); 167 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 168 return FALSE; 169 } 170 171 172 /********************************************************************* 173 * CRTDLL___iscsymf (CRTDLL.30) 174 */ 175 int CDECL CRTDLL___iscsymf(int i) 176 { 177 dprintf(("CRTDLL: __iscsymf\n")); 178 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 179 return FALSE; 180 } 181 182 140 183 /********************************************************************* 141 184 * __mb_cur_max_dll (CRTDLL.31) … … 149 192 } 150 193 194 195 /********************************************************************* 196 * CRTDLL___threadhandle (CRTDLL.32) 197 */ 198 unsigned long CDECL CRTDLL___threadhandle( void ) 199 { 200 dprintf(("CRTDLL: __threadhandle\n")); 201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 202 return FALSE; 203 } 204 205 206 /********************************************************************* 207 * CRTDLL___threadid (CRTDLL.33) 208 */ 209 int * CDECL CRTDLL___threadid(void) 210 { 211 dprintf(("CRTDLL: __threadid\n")); 212 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 213 return FALSE; 214 } 215 216 217 /********************************************************************* 218 * CRTDLL__abnormal_termination (CRTDLL.36) 219 */ 220 int CDECL CRTDLL__abnormal_termination(void) 221 { 222 dprintf(("CRTDLL: _abnormal_termination\n")); 223 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 224 return FALSE; 225 } 226 227 228 /********************************************************************* 229 * CRTDLL__access (CRTDLL.37) 230 */ 231 int CDECL CRTDLL__access(const char *path,int mode) 232 { 233 dprintf(("CRTDLL: _access\n")); 234 return (_access(path, mode)); 235 } 236 237 151 238 /********************************************************************* 152 239 * _aexit_rtn_dll (CRTDLL.39) … … 160 247 } 161 248 249 162 250 /********************************************************************* 163 251 * _amsg_exit (CRTDLL.40) … … 170 258 return 0; 171 259 } 260 261 262 /********************************************************************* 263 * CRTDLL__assert (CRTDLL.41) 264 */ 265 void CDECL CRTDLL__assert( char *s1, char *s2, int i) 266 { 267 dprintf(("CRTDLL: _assert\n")); 268 _assert(s1, s2, i); 269 } 270 271 272 /********************************************************************* 273 * CRTDLL__beginthread (CRTDLL.46) 274 */ 275 unsigned long CDECL CRTDLL__beginthread( register void (*start_address)(void *), 276 unsigned stack_size, void *arglist ) 277 { 278 dprintf(("CRTDLL: _beginthread\n")); 279 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 280 return FALSE; 281 } 282 172 283 173 284 /********************************************************************* … … 182 293 } 183 294 295 296 /********************************************************************* 297 * CRTDLL__close (CRTDLL.57) 298 */ 299 int CDECL CRTDLL__close(int handle) 300 { 301 dprintf(("CRTDLL: _close\n")); 302 return (_close(handle)); 303 } 304 305 306 /********************************************************************* 307 * CRTDLL__control87 (CRTDLL.60) 308 */ 309 unsigned CDECL CRTDLL__control87(unsigned i1,unsigned i2) 310 { 311 dprintf(("CRTDLL: _control87\n")); 312 return (_control87(i1, i2)); 313 } 314 315 316 /********************************************************************* 317 * CRTDLL__cwait (CRTDLL.69) 318 */ 319 int CDECL CRTDLL__cwait( int *status, int process_id, int action_code ) 320 { 321 dprintf(("CRTDLL: _cwait\n")); 322 return (_cwait(status, process_id, action_code)); 323 } 324 325 326 /********************************************************************* 327 * CRTDLL__dup (CRTDLL.71) 328 */ 329 int CDECL CRTDLL__dup(int handle) 330 { 331 dprintf(("CRTDLL: _dup\n")); 332 return (_dup(handle)); 333 } 334 335 336 /********************************************************************* 337 * CRTDLL__dup2 (CRTDLL.72) 338 */ 339 int CDECL CRTDLL__dup2(int handle1,int handle2) 340 { 341 dprintf(("CRTDLL: _dup2\n")); 342 return (_dup2(handle1, handle2)); 343 } 344 345 346 /********************************************************************* 347 * CRTDLL__ecvt (CRTDLL.73) 348 */ 349 char * CDECL CRTDLL__ecvt( double val, int ndig, int *dec, int *sign ) 350 { 351 dprintf(("CRTDLL: _ecvt\n")); 352 return (_ecvt(val, ndig, dec, sign)); 353 } 354 355 356 /********************************************************************* 357 * CRTDLL__endthread (CRTDLL.74) 358 */ 359 void CDECL CRTDLL__endthread(void) 360 { 361 dprintf(("CRTDLL: _endthread\n")); 362 _endthread (); 363 } 364 365 366 /********************************************************************* 367 * CRTDLL__errno (CRTDLL.77) 368 */ 369 int * CDECL CRTDLL__errno(void) 370 { 371 dprintf(("CRTDLL: _errno\n")); 372 return (_errno()); 373 } 374 375 184 376 /********************************************************************* 185 377 * _except_handler2 (CRTDLL.78) … … 193 385 } 194 386 387 195 388 /********************************************************************* 196 389 * _exit (CRTDLL.87) … … 201 394 ExitProcess(ret); 202 395 } 396 397 398 /********************************************************************* 399 * CRTDLL__expand (CRTDLL.88) 400 */ 401 void * CDECL CRTDLL__expand( void *ptr, size_t size ) 402 { 403 dprintf(("CRTDLL: _expand\n")); 404 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 405 return FALSE; 406 } 407 408 409 /********************************************************************* 410 * CRTDLL__fcvt (CRTDLL.90) 411 */ 412 char * CDECL CRTDLL__fcvt( double val, int ndig, int *dec, int *sign ) 413 { 414 dprintf(("CRTDLL: _fcvt\n")); 415 return (_fcvt(val, ndig, dec, sign)); 416 } 417 203 418 204 419 /********************************************************************* … … 232 447 } 233 448 449 450 /********************************************************************* 451 * CRTDLL__fgetchar (CRTDLL.92) 452 */ 453 int CDECL CRTDLL__fgetchar( void ) 454 { 455 dprintf(("CRTDLL: _fgetchar\n")); 456 return (_fgetchar()); 457 } 458 459 460 /********************************************************************* 461 * CRTDLL__fgetwchar (CRTDLL.93) 462 */ 463 wint_t CDECL CRTDLL__fgetwchar( void *i ) 464 { 465 dprintf(("CRTDLL: _fgetwchar\n")); 466 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 467 return FALSE; 468 } 469 470 471 /********************************************************************* 472 * _findclose (CRTDLL.098) 473 */ 474 int CDECL CRTDLL__findclose( long handle ) 475 { 476 dprintf(("CRTDLL: _findclose\n")); 477 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 478 return FALSE; 479 } 480 481 234 482 /********************************************************************* 235 483 * _findfirst (CRTDLL.099) 236 *237 * BUGS238 * Unimplemented239 484 */ 240 485 DWORD CDECL CRTDLL__findfirst(LPCSTR fname, struct find_t * x2) 241 486 { 242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 243 return FALSE; 244 } 487 dprintf(("CRTDLL: _findfirst\n")); 488 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 489 return FALSE; 490 } 491 245 492 246 493 /********************************************************************* 247 494 * _findnext (CRTDLL.100) 248 *249 * BUGS250 * Unimplemented251 495 */ 252 496 INT CDECL CRTDLL__findnext(DWORD hand, struct find_t * x2) 253 497 { 254 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 255 return FALSE; 256 } 498 dprintf(("CRTDLL: _findnext\n")); 499 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 500 return FALSE; 501 } 502 503 504 /********************************************************************* 505 * _finite (CRTDLL.101) 506 */ 507 INT CDECL CRTDLL__finite(double x) 508 { 509 dprintf(("CRTDLL: _finite\n")); 510 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 511 return FALSE; 512 } 513 514 515 /********************************************************************* 516 * _fpreset (CRTDLL.107) 517 */ 518 INT CDECL CRTDLL__fpreset(void) 519 { 520 dprintf(("CRTDLL: _fpreset\n")); 521 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 522 return FALSE; 523 } 524 525 526 /********************************************************************* 527 * _fputchar (CRTDLL.108) 528 */ 529 INT CDECL CRTDLL__fputchar( int c ) 530 { 531 dprintf(("CRTDLL: _fputchar\n")); 532 return(_fputchar(c)); 533 } 534 535 536 /********************************************************************* 537 * _fputwchar (CRTDLL.109) 538 */ 539 wint_t CDECL CRTDLL__fputwchar( wint_t ) 540 { 541 dprintf(("CRTDLL: _fputwchar\n")); 542 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 543 return FALSE; 544 } 545 546 547 /********************************************************************* 548 * _fsopen (CRTDLL.110) 549 */ 550 FILE * CDECL CRTDLL__fsopen( const char *filename, const char *mode, int shflag ) 551 { 552 dprintf(("CRTDLL: _fsopen\n")); 553 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 554 return FALSE; 555 } 556 257 557 258 558 /********************************************************************* 259 559 * _fstat (CRTDLL.111) 260 *261 * BUGS262 * Unimplemented263 560 */ 264 561 int CDECL CRTDLL__fstat(int file, struct stat* buf) 265 562 { 266 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 267 return FALSE; 268 } 563 dprintf(("CRTDLL: _fstat\n")); 564 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 565 return FALSE; 566 } 567 568 569 /********************************************************************* 570 * _ftime (CRTDLL.112) 571 */ 572 int CDECL CRTDLL__ftime( struct timeb *timeptr ) 573 { 574 dprintf(("CRTDLL: _ftime\n")); 575 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 576 return FALSE; 577 } 578 579 580 /********************************************************************* 581 * _fullpath (CRTDLL.114) 582 */ 583 char * CDECL CRTDLL__fullpath( char *buf, char *path, size_t size ) 584 { 585 dprintf(("CRTDLL: _fullpath\n")); 586 return (_fullpath(buf, path, size)); 587 } 588 589 590 /********************************************************************* 591 * _gcvt (CRTDLL.116) 592 */ 593 char * CDECL CRTDLL__gcvt( double val, int ndig, char *buf ) 594 { 595 dprintf(("CRTDLL: _gcvt\n")); 596 return (_gcvt(val, ndig, buf)); 597 } 598 599 600 /********************************************************************* 601 * _get_osfhandle (CRTDLL.117) 602 */ 603 long CDECL CRTDLL__get_osfhandle( int posixhandle ) 604 { 605 dprintf(("CRTDLL: _gcvt\n")); 606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 607 return FALSE; 608 } 609 610 611 /********************************************************************* 612 * _getch (CRTDLL.118) 613 */ 614 int CDECL CRTDLL__getch(void) 615 { 616 dprintf(("CRTDLL: _getch\n")); 617 return (_getch()); 618 } 619 620 621 /********************************************************************* 622 * _getche (CRTDLL.119) 623 */ 624 int CDECL CRTDLL__getche(void) 625 { 626 dprintf(("CRTDLL: _getche\n")); 627 return (_getche()); 628 } 629 630 631 /********************************************************************* 632 * _getcwd (CRTDLL.120) 633 */ 634 char * CDECL CRTDLL__getcwd( char *buf, size_t size ) 635 { 636 dprintf(("CRTDLL: _getcwd\n")); 637 return (_getcwd(buf, size)); 638 } 639 640 641 /********************************************************************* 642 * _getdcwd (CRTDLL.121) 643 */ 644 char * CDECL CRTDLL__getdcwd( int drive, char *buffer, size_t maxlen ) 645 { 646 dprintf(("CRTDLL: _getdcwd\n")); 647 return (_getdcwd(drive, buffer, maxlen)); 648 } 649 650 651 /********************************************************************* 652 * _getdiskfree (CRTDLL.122) 653 */ 654 unsigned CDECL CRTDLL__getdiskfree( unsigned drive, struct _diskfree_t *diskspace) 655 { 656 dprintf(("CRTDLL: _getdiskfree\n")); 657 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 658 return FALSE; 659 } 660 661 662 /********************************************************************* 663 * _getdrive (CRTDLL.124) 664 */ 665 unsigned CDECL CRTDLL__getdrive( void ) 666 { 667 dprintf(("CRTDLL: _getdrive\n")); 668 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 669 return FALSE; 670 } 671 672 673 /********************************************************************* 674 * _getw (CRTDLL.128) 675 */ 676 int CDECL CRTDLL__getw( FILE *fp ) 677 { 678 dprintf(("CRTDLL: _getw\n")); 679 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 680 return FALSE; 681 } 682 269 683 270 684 /******************************************************************* … … 276 690 RtlUnwind( frame, 0, NULL, 0 ); 277 691 } 692 693 694 /********************************************************************* 695 * _heapchk (CRTDLL.130) 696 */ 697 int CDECL CRTDLL__heapchk( void ) 698 { 699 dprintf(("CRTDLL: _heapchk\n")); 700 return (_heapchk()); 701 } 702 703 704 /********************************************************************* 705 * _heapmin (CRTDLL.131) 706 */ 707 int CDECL CRTDLL__heapmin( void ) 708 { 709 dprintf(("CRTDLL: _heapmin\n")); 710 return (_heapmin()); 711 } 712 713 714 /********************************************************************* 715 * _heapset (CRTDLL.132) 716 */ 717 int CDECL CRTDLL__heapset( unsigned int fill ) 718 { 719 dprintf(("CRTDLL: _heapset\n")); 720 return (_heapset(fill)); 721 } 722 723 724 /********************************************************************* 725 * _heapwalk (CRTDLL.133) 726 */ 727 int CDECL CRTDLL__heapwalk( struct _heapinfo *entry ) 728 { 729 dprintf(("CRTDLL: _heapwalk\n")); 730 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 731 return FALSE; 732 } 733 278 734 279 735 /********************************************************************* … … 292 748 return 0; 293 749 } 750 294 751 295 752 /********************************************************************* … … 317 774 } 318 775 776 777 /********************************************************************* 778 * _ismbbalnum (CRTDLL.139) 779 */ 780 int CDECL CRTDLL__ismbbalnum( unsigned int ch ) 781 { 782 dprintf(("CRTDLL: _ismbbalnum\n")); 783 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 784 return FALSE; 785 } 786 787 788 /********************************************************************* 789 * _ismbbalpha (CRTDLL.140) 790 */ 791 int CDECL CRTDLL__ismbbalpha( unsigned int ch ) 792 { 793 dprintf(("CRTDLL: _ismbbalpha\n")); 794 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 795 return FALSE; 796 } 797 798 799 /********************************************************************* 800 * _ismbbgraph (CRTDLL.141) 801 */ 802 int CDECL CRTDLL__ismbbgraph( unsigned int ch ) 803 { 804 dprintf(("CRTDLL: _ismbbgraph\n")); 805 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 806 return FALSE; 807 } 808 809 810 /********************************************************************* 811 * _ismbbkalnum (CRTDLL.142) 812 */ 813 int CDECL CRTDLL__ismbbkalnum( unsigned int ch ) 814 { 815 dprintf(("CRTDLL: _ismbbkalnum\n")); 816 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 817 return FALSE; 818 } 819 820 821 /********************************************************************* 822 * _ismbbkana (CRTDLL.143) 823 */ 824 int CDECL CRTDLL__ismbbkana( unsigned int ch ) 825 { 826 dprintf(("CRTDLL: _ismbbkana\n")); 827 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 828 return FALSE; 829 } 830 831 832 /********************************************************************* 833 * _ismbbkpunct (CRTDLL.144) 834 */ 835 int CDECL CRTDLL__ismbbkpunct( unsigned int ch ) 836 { 837 dprintf(("CRTDLL: _ismbbkpunct\n")); 838 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 839 return FALSE; 840 } 841 842 843 /********************************************************************* 844 * _ismbblead (CRTDLL.145) 845 */ 846 int CDECL CRTDLL__ismbblead( unsigned int ch ) 847 { 848 dprintf(("CRTDLL: _ismbblead\n")); 849 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 850 return FALSE; 851 } 852 853 854 /********************************************************************* 855 * _ismbbprint (CRTDLL.146) 856 */ 857 int CDECL CRTDLL__ismbbprint( unsigned int ch ) 858 { 859 dprintf(("CRTDLL: _ismbbprint\n")); 860 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 861 return FALSE; 862 } 863 864 865 /********************************************************************* 866 * _ismbbpunct (CRTDLL.147) 867 */ 868 int CDECL CRTDLL__ismbbpunct( unsigned int ch ) 869 { 870 dprintf(("CRTDLL: _ismbbpunct\n")); 871 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 872 return FALSE; 873 } 874 875 876 /********************************************************************* 877 * _ismbbtrail (CRTDLL.148) 878 */ 879 int CDECL CRTDLL__ismbbtrail( unsigned int ch ) 880 { 881 dprintf(("CRTDLL: _ismbbtrail\n")); 882 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 883 return FALSE; 884 } 885 886 887 /********************************************************************* 888 * _ismbcalpha (CRTDLL.149) 889 */ 890 int CDECL CRTDLL__ismbcalpha( unsigned int ch ) 891 { 892 dprintf(("CRTDLL: _ismbcalpha\n")); 893 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 894 return FALSE; 895 } 896 897 898 /********************************************************************* 899 * _ismbcdigit (CRTDLL.150) 900 */ 901 int CDECL CRTDLL__ismbcdigit( unsigned int ch ) 902 { 903 dprintf(("CRTDLL: _ismbcdigit\n")); 904 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 905 return FALSE; 906 } 907 908 909 /********************************************************************* 910 * _ismbchira (CRTDLL.151) 911 */ 912 int CDECL CRTDLL__ismbchira( unsigned int ch ) 913 { 914 dprintf(("CRTDLL: _ismbchira\n")); 915 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 916 return FALSE; 917 } 918 919 920 /********************************************************************* 921 * _ismbckata (CRTDLL.152) 922 */ 923 int CDECL CRTDLL__ismbckata( unsigned int ch ) 924 { 925 dprintf(("CRTDLL: _ismbckata\n")); 926 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 927 return FALSE; 928 } 929 930 /********************************************************************* 931 * _ismbcl0 (CRTDLL.153) 932 */ 933 int CDECL CRTDLL__ismbcl0( unsigned int ch ) 934 { 935 dprintf(("CRTDLL: _ismbcl0\n")); 936 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 937 return FALSE; 938 } 939 940 941 /********************************************************************* 942 * _ismbcl1 (CRTDLL.154) 943 */ 944 int CDECL CRTDLL__ismbcl1( unsigned int ch ) 945 { 946 dprintf(("CRTDLL: _ismbcl1\n")); 947 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 948 return FALSE; 949 } 950 951 952 /********************************************************************* 953 * _ismbcl2 (CRTDLL.155) 954 */ 955 int CDECL CRTDLL__ismbcl2( unsigned int ch ) 956 { 957 dprintf(("CRTDLL: _ismbcl2\n")); 958 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 959 return FALSE; 960 } 961 962 963 /********************************************************************* 964 * _ismbclegal (CRTDLL.156) 965 */ 966 int CDECL CRTDLL__ismbclegal( unsigned int ch ) 967 { 968 dprintf(("CRTDLL: _ismbclegal\n")); 969 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 970 return FALSE; 971 } 972 973 974 /********************************************************************* 975 * _ismbclower (CRTDLL.157) 976 */ 977 int CDECL CRTDLL__ismbclower( unsigned int ch ) 978 { 979 dprintf(("CRTDLL: _ismbclower\n")); 980 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 981 return FALSE; 982 } 983 984 985 /********************************************************************* 986 * _ismbcprint (CRTDLL.158) 987 */ 988 int CDECL CRTDLL__ismbcprint( unsigned int ch ) 989 { 990 dprintf(("CRTDLL: _ismbcprint\n")); 991 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 992 return FALSE; 993 } 994 995 996 /********************************************************************* 997 * _ismbcspace (CRTDLL.159) 998 */ 999 int CDECL CRTDLL__ismbcspace( unsigned int ch ) 1000 { 1001 dprintf(("CRTDLL: _ismbcspace\n")); 1002 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1003 return FALSE; 1004 } 1005 1006 1007 /********************************************************************* 1008 * _ismbcsymbol (CRTDLL.160) 1009 */ 1010 int CDECL CRTDLL__ismbcsymbol( unsigned int ch ) 1011 { 1012 dprintf(("CRTDLL: _ismbcsymbol\n")); 1013 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1014 return FALSE; 1015 } 1016 1017 1018 /********************************************************************* 1019 * _ismbcupper (CRTDLL.161) 1020 */ 1021 int CDECL CRTDLL__ismbcupper( unsigned int ch ) 1022 { 1023 dprintf(("CRTDLL: _ismbcupper\n")); 1024 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1025 return FALSE; 1026 } 1027 1028 319 1029 /******************************************************************* 320 1030 * _local_unwind2 (CRTDLL.172) … … 324 1034 dprintf(("CRTDLL: local_undwind2\n")); 325 1035 } 1036 1037 1038 /********************************************************************* 1039 * _locking (CRTDLL.173) 1040 */ 1041 int CDECL CRTDLL__locking(int handle,int mode,unsigned long nbyte) 1042 { 1043 dprintf(("CRTDLL: _locking\n")); 1044 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1045 return FALSE; 1046 } 1047 1048 1049 /********************************************************************* 1050 * _lrotl (CRTDLL.175) 1051 */ 1052 unsigned long CDECL CRTDLL__lrotl( unsigned long value, unsigned int shift ) 1053 { 1054 dprintf(("CRTDLL: _lrotl\n")); 1055 return (_lrotl(value, shift)); 1056 } 1057 1058 1059 /********************************************************************* 1060 * _lrotr (CRTDLL.176) 1061 */ 1062 unsigned long CDECL CRTDLL__lrotr( unsigned long value, unsigned int shift ) 1063 { 1064 dprintf(("CRTDLL: _lrotr\n")); 1065 return (_lrotr(value, shift)); 1066 } 1067 1068 1069 /********************************************************************* 1070 * _lseek (CRTDLL.178) 1071 */ 1072 long CDECL CRTDLL__lseek(int handle,long offset,int origin) 1073 { 1074 dprintf(("CRTDLL: _lssek\n")); 1075 return (_lseek(handle, offset, origin)); 1076 } 1077 1078 1079 /********************************************************************* 1080 * _makepath (CRTDLL.180) 1081 */ 1082 void CDECL CRTDLL__makepath( char *path, char *drive, 1083 char *dir, char *fname, char *ext ) 1084 { 1085 dprintf(("CRTDLL: _makepath\n")); 1086 _makepath(path, drive, dir, fname, ext); 1087 } 1088 1089 1090 /********************************************************************* 1091 * _matherr (CRTDLL.181) 1092 */ 1093 double CDECL CRTDLL__matherr( struct exception * excep ) 1094 { 1095 dprintf(("CRTDLL: _matherr\n")); 1096 return (_matherr(excep)); 1097 } 1098 1099 1100 /********************************************************************* 1101 * _mbbtombc (CRTDLL.182) 1102 */ 1103 unsigned int CDECL CRTDLL__mbbtombc( unsigned int ch ) 1104 { 1105 dprintf(("CRTDLL: _mbbtombc\n")); 1106 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1107 return FALSE; 1108 } 1109 1110 1111 /********************************************************************* 1112 * _mbbtype (CRTDLL.183) 1113 */ 1114 int CDECL CRTDLL__mbbtype( unsigned char s, int i ) 1115 { 1116 dprintf(("CRTDLL: _mbbtype\n")); 1117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1118 return FALSE; 1119 } 1120 1121 1122 /********************************************************************* 1123 * _mbccpy (CRTDLL.184) 1124 */ 1125 void CDECL CRTDLL__mbccpy( unsigned char *dest, const unsigned char *ch ) 1126 { 1127 dprintf(("CRTDLL: _mbccpy\n")); 1128 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1129 } 1130 1131 1132 /********************************************************************* 1133 * _mbcjistojms (CRTDLL.185) 1134 */ 1135 int CDECL CRTDLL__mbcjistojms( unsigned int ch ) 1136 { 1137 dprintf(("CRTDLL: _mbcjistojms\n")); 1138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1139 return FALSE; 1140 } 1141 1142 1143 /********************************************************************* 1144 * _mbcjmstojis (CRTDLL.186) 1145 */ 1146 int CDECL CRTDLL__mbcjmstojis( unsigned int ch ) 1147 { 1148 dprintf(("CRTDLL: _mbcjmstojis\n")); 1149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1150 return FALSE; 1151 } 1152 1153 1154 /********************************************************************* 1155 * _mbclen (CRTDLL.187) 1156 */ 1157 size_t CDECL CRTDLL__mbclen( const unsigned char *ch ) 1158 { 1159 dprintf(("CRTDLL: _mbclen\n")); 1160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1161 return FALSE; 1162 } 1163 1164 1165 /********************************************************************* 1166 * _mbctohira (CRTDLL.188) 1167 */ 1168 int CDECL CRTDLL__mbctohira( unsigned int ch ) 1169 { 1170 dprintf(("CRTDLL: _mbctohira\n")); 1171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1172 return FALSE; 1173 } 1174 1175 1176 /********************************************************************* 1177 * _mbctokata (CRTDLL.189) 1178 */ 1179 int CDECL CRTDLL__mbctokata( unsigned int ch ) 1180 { 1181 dprintf(("CRTDLL: _mbctokata\n")); 1182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1183 return FALSE; 1184 } 1185 1186 1187 /********************************************************************* 1188 * _mbctolower (CRTDLL.190) 1189 */ 1190 unsigned int CDECL CRTDLL__mbctolower( unsigned int ch ) 1191 { 1192 dprintf(("CRTDLL: _mbctolower\n")); 1193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1194 return FALSE; 1195 } 1196 1197 1198 /********************************************************************* 1199 * _mbctombb (CRTDLL.191) 1200 */ 1201 unsigned int CDECL CRTDLL__mbctombb( unsigned int ch ) 1202 { 1203 dprintf(("CRTDLL: _mbctombb\n")); 1204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1205 return FALSE; 1206 } 1207 1208 1209 /********************************************************************* 1210 * _mbctoupper (CRTDLL.192) 1211 */ 1212 unsigned int CDECL CRTDLL__mbctoupper( unsigned int ch ) 1213 { 1214 dprintf(("CRTDLL: _mbctoupper\n")); 1215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1216 return FALSE; 1217 } 1218 1219 1220 /********************************************************************* 1221 * _mbsbtype (CRTDLL.194) 1222 */ 1223 int CDECL CRTDLL__mbsbtype( const unsigned char *s1, int ch ) 1224 { 1225 dprintf(("CRTDLL: _mbsbtype\n")); 1226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1227 return FALSE; 1228 } 1229 1230 1231 /********************************************************************* 1232 * _mbscat (CRTDLL.195) 1233 */ 1234 unsigned char * CDECL CRTDLL__mbscat( unsigned char *s1, const unsigned char *s2 ) 1235 { 1236 dprintf(("CRTDLL: _mbscat\n")); 1237 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1238 return FALSE; 1239 } 1240 1241 1242 /********************************************************************* 1243 * _mbschr (CRTDLL.196) 1244 */ 1245 unsigned char * CDECL CRTDLL__mbschr( const unsigned char *s, unsigned int ch ) 1246 { 1247 dprintf(("CRTDLL: _mbschr\n")); 1248 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1249 return FALSE; 1250 } 1251 1252 1253 /********************************************************************* 1254 * _mbscmp (CRTDLL.197) 1255 */ 1256 int CDECL CRTDLL__mbscmp( const unsigned char *s1, const unsigned char *s2 ) 1257 { 1258 dprintf(("CRTDLL: _mbscmp\n")); 1259 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1260 return FALSE; 1261 } 1262 1263 1264 /********************************************************************* 1265 * _mbscpy (CRTDLL.198) 1266 */ 1267 unsigned char * CDECL CRTDLL__mbscpy( unsigned char *s1, const unsigned char *s2 ) 1268 { 1269 dprintf(("CRTDLL: _mbscpy\n")); 1270 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1271 return FALSE; 1272 } 1273 1274 1275 /********************************************************************* 1276 * _mbscspn (CRTDLL.199) 1277 */ 1278 size_t CDECL CRTDLL__mbscspn( const unsigned char *s, const unsigned char *charset ) 1279 { 1280 dprintf(("CRTDLL: _mbscspn\n")); 1281 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1282 return FALSE; 1283 } 1284 326 1285 327 1286 /********************************************************************* … … 350 1309 } 351 1310 1311 1312 /********************************************************************* 1313 * CRTDLL__mbsdec (CRTDLL.200) 1314 */ 1315 unsigned char * CDECL CRTDLL__mbsdec( const unsigned char *s, const unsigned char *ch ) 1316 { 1317 dprintf(("CRTDLL: _mbsdec\n")); 1318 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1319 return FALSE; 1320 } 1321 1322 1323 /********************************************************************* 1324 * CRTDLL__mbsdec (CRTDLL.201) 1325 */ 1326 unsigned char * CDECL CRTDLL__mbsdup( unsigned char *src ) 1327 { 1328 dprintf(("CRTDLL: _mbsdup\n")); 1329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1330 return FALSE; 1331 } 1332 1333 1334 /********************************************************************* 1335 * CRTDLL__mbsicmp (CRTDLL.202) 1336 */ 1337 int CDECL CRTDLL__mbsicmp( const unsigned char *s1, const unsigned char *s2 ) 1338 { 1339 dprintf(("CRTDLL: _mbsicmp\n")); 1340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1341 return FALSE; 1342 } 1343 1344 1345 /********************************************************************* 1346 * CRTDLL__mbslwr (CRTDLL.205) 1347 */ 1348 unsigned char * CDECL CRTDLL__mbslwr( unsigned char *s ) 1349 { 1350 dprintf(("CRTDLL: _mbslwr\n")); 1351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1352 return FALSE; 1353 } 1354 1355 1356 /********************************************************************* 1357 * CRTDLL__mbsnbcat (CRTDLL.206) 1358 */ 1359 unsigned char * CDECL CRTDLL__mbsnbcat( unsigned char *s1, const unsigned char *s2, size_t n ) 1360 { 1361 dprintf(("CRTDLL: _mbsnbcat\n")); 1362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1363 return FALSE; 1364 } 1365 1366 1367 /********************************************************************* 1368 * CRTDLL__mbsnbcmp (CRTDLL.207) 1369 */ 1370 int CDECL CRTDLL__mbsnbcmp( const unsigned char *s1, const unsigned char *s2, size_t n ) 1371 { 1372 dprintf(("CRTDLL: _mbsnbcmp\n")); 1373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1374 return FALSE; 1375 } 1376 1377 1378 /********************************************************************* 1379 * CRTDLL__mbsnbcnt (CRTDLL.208) 1380 */ 1381 size_t CDECL CRTDLL__mbsnbcnt( const unsigned char *s, size_t n ) 1382 { 1383 dprintf(("CRTDLL: _mbsnbcnt\n")); 1384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1385 return FALSE; 1386 } 1387 1388 1389 /********************************************************************* 1390 * CRTDLL__mbsnbcpy (CRTDLL.209) 1391 */ 1392 unsigned char * CDECL CRTDLL__mbsnbcpy( unsigned char *s1, const unsigned char *s2, size_t n ) 1393 { 1394 dprintf(("CRTDLL: _mbsnbcpy\n")); 1395 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1396 return FALSE; 1397 } 1398 1399 1400 /********************************************************************* 1401 * CRTDLL__mbsnbicmp (CRTDLL.210) 1402 */ 1403 int CDECL CRTDLL__mbsnbicmp( const unsigned char *s1, const unsigned char *s2, size_t n ) 1404 { 1405 dprintf(("CRTDLL: _mbsnbicmp\n")); 1406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1407 return FALSE; 1408 } 1409 1410 1411 /********************************************************************* 1412 * CRTDLL__mbsnbset (CRTDLL.211) 1413 */ 1414 unsigned char * CDECL CRTDLL__mbsnbset( unsigned char *s, unsigned int ch, size_t n ) 1415 { 1416 dprintf(("CRTDLL: _mbsnbset\n")); 1417 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1418 return FALSE; 1419 } 1420 1421 1422 /********************************************************************* 1423 * CRTDLL__mbsncat (CRTDLL.212) 1424 */ 1425 unsigned char * CDECL CRTDLL__mbsncat( unsigned char *s1, const unsigned char *s2, size_t n ) 1426 { 1427 dprintf(("CRTDLL: _mbsncat\n")); 1428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1429 return FALSE; 1430 } 1431 1432 1433 /********************************************************************* 1434 * CRTDLL__mbsnccnt (CRTDLL.213) 1435 */ 1436 size_t CDECL CRTDLL__mbsnccnt( const unsigned char *s, size_t n ) 1437 { 1438 dprintf(("CRTDLL: _mbsnccnt\n")); 1439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1440 return FALSE; 1441 } 1442 1443 1444 /********************************************************************* 1445 * CRTDLL__mbsncmp (CRTDLL.214) 1446 */ 1447 int CDECL CRTDLL__mbsncmp( const unsigned char *s1, const unsigned char *s2, size_t n ) 1448 { 1449 dprintf(("CRTDLL: _mbsncmp\n")); 1450 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1451 return FALSE; 1452 } 1453 1454 1455 /********************************************************************* 1456 * CRTDLL__mbsncpy (CRTDLL.215) 1457 */ 1458 unsigned char * CDECL CRTDLL__mbsncpy( unsigned char *s1, const unsigned char *s2, size_t n ) 1459 { 1460 dprintf(("CRTDLL: _mbsncpy\n")); 1461 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1462 return FALSE; 1463 } 1464 1465 1466 /********************************************************************* 1467 * CRTDLL__mbsnextc (CRTDLL.216) 1468 */ 1469 unsigned int CDECL CRTDLL__mbsnextc( const unsigned char *s ) 1470 { 1471 dprintf(("CRTDLL: _mbsnextc\n")); 1472 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1473 return FALSE; 1474 } 1475 1476 1477 /********************************************************************* 1478 * CRTDLL__mbsnicmp (CRTDLL.217) 1479 */ 1480 int CDECL CRTDLL__mbsnicmp( const unsigned char *s1, const unsigned char *s2, size_t n ) 1481 { 1482 dprintf(("CRTDLL: _mbsnicmp\n")); 1483 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1484 return FALSE; 1485 } 1486 1487 1488 /********************************************************************* 1489 * CRTDLL__mbsninc (CRTDLL.218) 1490 */ 1491 unsigned char * CDECL CRTDLL__mbsninc( const unsigned char *s, size_t count ) 1492 { 1493 dprintf(("CRTDLL: _mbsninc\n")); 1494 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1495 return FALSE; 1496 } 1497 1498 1499 /********************************************************************* 1500 * CRTDLL__mbsnset (CRTDLL.219) 1501 */ 1502 unsigned char * CDECL CRTDLL__mbsnset( unsigned char *s, unsigned int ch, size_t n ) 1503 { 1504 dprintf(("CRTDLL: _mbsnset\n")); 1505 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1506 return FALSE; 1507 } 1508 1509 1510 /********************************************************************* 1511 * CRTDLL__mbspbrk (CRTDLL.220) 1512 */ 1513 unsigned char * CDECL CRTDLL__mbspbrk( const unsigned char *s, const unsigned char *charset ) 1514 { 1515 dprintf(("CRTDLL: _mbspbrk\n")); 1516 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1517 return FALSE; 1518 } 1519 1520 1521 /********************************************************************* 1522 * CRTDLL__mbsrchr (CRTDLL.221) 1523 */ 1524 unsigned char * CDECL CRTDLL__mbsrchr( const unsigned char *s, unsigned int ch ) 1525 { 1526 dprintf(("CRTDLL: _mbsrchr\n")); 1527 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1528 return FALSE; 1529 } 1530 1531 1532 /********************************************************************* 1533 * CRTDLL__mbsrev (CRTDLL.222) 1534 */ 1535 unsigned char * CDECL CRTDLL__mbsrev( unsigned char *s ) 1536 { 1537 dprintf(("CRTDLL: _mbsrev\n")); 1538 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1539 return FALSE; 1540 } 1541 1542 1543 /********************************************************************* 1544 * CRTDLL__mbsset (CRTDLL.223) 1545 */ 1546 unsigned char * CDECL CRTDLL__mbsset( unsigned char *s, unsigned int ch ) 1547 { 1548 dprintf(("CRTDLL: _mbsset\n")); 1549 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1550 return FALSE; 1551 } 1552 1553 1554 /********************************************************************* 1555 * CRTDLL__mbsspn (CRTDLL.224) 1556 */ 1557 size_t CDECL CRTDLL__mbsspn( const unsigned char *s, const unsigned char *charset ) 1558 { 1559 dprintf(("CRTDLL: _mbsspn\n")); 1560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1561 return FALSE; 1562 } 1563 1564 1565 /********************************************************************* 1566 * CRTDLL__mbsspnp (CRTDLL.225) 1567 */ 1568 unsigned char * CDECL CRTDLL__mbsspnp( const unsigned char *s, const unsigned char *charset ) 1569 { 1570 dprintf(("CRTDLL: _mbsspnp\n")); 1571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1572 return FALSE; 1573 } 1574 1575 1576 /********************************************************************* 1577 * CRTDLL__mbsstr (CRTDLL.226) 1578 */ 1579 unsigned char * CDECL CRTDLL__mbsstr( const unsigned char *s1, const unsigned char *s2 ) 1580 { 1581 dprintf(("CRTDLL: _mbsstr\n")); 1582 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1583 return FALSE; 1584 } 1585 1586 1587 /********************************************************************* 1588 * CRTDLL__mbstok (CRTDLL.227) 1589 */ 1590 unsigned char * CDECL CRTDLL__mbstok( unsigned char *s, const unsigned char *delim ) 1591 { 1592 dprintf(("CRTDLL: _mbstok\n")); 1593 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1594 return FALSE; 1595 } 1596 1597 1598 /********************************************************************* 1599 * CRTDLL__mbsupr (CRTDLL.229) 1600 */ 1601 unsigned char * CDECL CRTDLL__mbsupr( unsigned char *s ) 1602 { 1603 dprintf(("CRTDLL: _mbsupr\n")); 1604 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1605 return FALSE; 1606 } 1607 1608 352 1609 /********************************************************************* 353 1610 * _mkdir (CRTDLL.232) … … 363 1620 364 1621 /********************************************************************* 1622 * _mktemp (CRTDLL.233) 1623 */ 1624 char * CDECL CRTDLL__mktemp( char * templt ) 1625 { 1626 dprintf(("CRTDLL: _mktemp\n")); 1627 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1628 return FALSE; 1629 } 1630 1631 1632 /********************************************************************* 1633 * _msize (CRTDLL.234) 1634 */ 1635 size_t CDECL CRTDLL__msize( void *ptr ) 1636 { 1637 dprintf(("CRTDLL: _msize\n")); 1638 return (_msize(ptr)); 1639 } 1640 1641 1642 /********************************************************************* 1643 * _open (CRTDLL.237) 1644 */ 1645 INT CDECL CRTDLL__open(const char *path,int oflag,...) 1646 { 1647 dprintf(("CRTDLL: _open\n")); 1648 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1649 return FALSE; 1650 } 1651 1652 1653 /********************************************************************* 1654 * _open_osfhandle (CRTDLL.238) 1655 */ 1656 INT CDECL CRTDLL__open_osfhandle( long osfhandle, int flags ) 1657 { 1658 dprintf(("CRTDLL: _open_osfhandle\n")); 1659 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1660 return FALSE; 1661 } 1662 1663 1664 /********************************************************************* 1665 * _pclose (CRTDLL.244) 1666 */ 1667 INT CDECL CRTDLL__pclose( FILE *fp ) 1668 { 1669 dprintf(("CRTDLL: _pclose\n")); 1670 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1671 return FALSE; 1672 } 1673 1674 1675 /********************************************************************* 365 1676 * _pctype_dll (CRTDLL.245) 366 1677 * FIXME - Could not find anything about it … … 371 1682 372 1683 return 0; 1684 } 1685 1686 1687 /********************************************************************* 1688 * _pipe (CRTDLL.247) 1689 */ 1690 INT CDECL CRTDLL__pipe( int *phandles, unsigned psize, int textmode ) 1691 { 1692 dprintf(("CRTDLL: _pipe\n")); 1693 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1694 return FALSE; 1695 } 1696 1697 1698 /********************************************************************* 1699 * _popen (CRTDLL.248) 1700 */ 1701 FILE * CDECL CRTDLL__popen( const char *command, const char *mode ) 1702 { 1703 dprintf(("CRTDLL: _popen\n")); 1704 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1705 return FALSE; 373 1706 } 374 1707 … … 386 1719 } 387 1720 1721 1722 /********************************************************************* 1723 * _putw (CRTDLL.252) 1724 */ 1725 INT CDECL CRTDLL__putw( int binint, FILE *fp ) 1726 { 1727 dprintf(("CRTDLL: _putw\n")); 1728 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1729 return FALSE; 1730 } 1731 1732 1733 /********************************************************************* 1734 * CRTDLL__rotl (CRTDLL.257) 1735 */ 1736 unsigned int CDECL CRTDLL__rotl( unsigned int value, unsigned int shift ) 1737 { 1738 dprintf(("CRTDLL: _rotl\n")); 1739 return (_rotl(value, shift)); 1740 } 1741 1742 1743 /********************************************************************* 1744 * CRTDLL__rotr (CRTDLL.258) 1745 */ 1746 unsigned int CDECL CRTDLL__rotr( unsigned int value, unsigned int shift ) 1747 { 1748 dprintf(("CRTDLL: _rotr\n")); 1749 return (_rotr(value, shift)); 1750 } 1751 1752 1753 /********************************************************************* 1754 * CRTDLL__searchenv (CRTDLL.260) 1755 */ 1756 void CDECL CRTDLL__searchenv( const char *name, const char *env_var, char *buf ) 1757 { 1758 dprintf(("CRTDLL: _searchenv\n")); 1759 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1760 } 1761 1762 1763 /********************************************************************* 1764 * CRTDLL__setjmp (CRTDLL.262) 1765 */ 1766 int CDECL CRTDLL__setjmp( jmp_buf env ) 1767 { 1768 dprintf(("CRTDLL: _setjmp -> setjmp\n")); 1769 return(setjmp( env)); 1770 } 1771 1772 1773 /********************************************************************* 1774 * CRTDLL__stat (CRTDLL.278) 1775 */ 1776 int CDECL CRTDLL__stat( const char *s1, struct stat * n ) 1777 { 1778 dprintf(("CRTDLL: _stat\n")); 1779 return(_stat(s1, n)); 1780 } 1781 1782 1783 /********************************************************************* 1784 * CRTDLL__strdate (CRTDLL.281) 1785 */ 1786 char * CDECL CRTDLL__strdate( char *buf ) 1787 { 1788 dprintf(("CRTDLL: _strdate\n")); 1789 return(_strdate(buf)); 1790 } 1791 1792 1793 /********************************************************************* 1794 * CRTDLL__strdec (CRTDLL.282) 1795 */ 1796 char * CDECL CRTDLL__strdec( const char *, const char *p ) 1797 { 1798 dprintf(("CRTDLL: _strdec\n")); 1799 return( (char *)(p-1) ); 1800 } 1801 1802 1803 /********************************************************************* 1804 * CRTDLL__strdup (CRTDLL.283) 1805 */ 1806 char * CDECL CRTDLL__strdup( const char *string ) 1807 { 1808 dprintf(("CRTDLL: _strdup\n")); 1809 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1810 return FALSE; 1811 } 1812 1813 1814 /********************************************************************* 1815 * CRTDLL__stricoll (CRTDLL.286) 1816 */ 1817 int CDECL CRTDLL__stricoll( const char *s1, const char *s2 ) 1818 { 1819 dprintf(("CRTDLL: _stricoll\n")); 1820 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1821 return FALSE; 1822 } 1823 1824 1825 /********************************************************************* 1826 * CRTDLL__strinc (CRTDLL.287) 1827 */ 1828 char * CDECL CRTDLL__strinc( const char *p ) 1829 { 1830 dprintf(("CRTDLL: _strinc\n")); 1831 return( (char *)(p+1) ); 1832 } 1833 1834 1835 /********************************************************************* 1836 * CRTDLL__strncnt (CRTDLL.289) 1837 */ 1838 size_t CDECL CRTDLL__strncnt( const char *p, size_t l ) 1839 { 1840 dprintf(("CRTDLL: _strncnt\n")); 1841 size_t i; 1842 i = strlen(p); 1843 return( (i>l) ? l : i ); 1844 } 1845 1846 /********************************************************************* 1847 * CRTDLL__strnextc (CRTDLL.290) 1848 */ 1849 unsigned int CDECL CRTDLL__strnextc( const char *p ) 1850 { 1851 dprintf(("CRTDLL: _strnextc\n")); 1852 return( (unsigned int)*p ); 1853 } 1854 1855 1856 /********************************************************************* 1857 * CRTDLL__strninc (CRTDLL.292) 1858 */ 1859 char * CDECL CRTDLL__strninc( const char *p, size_t l ) 1860 { 1861 dprintf(("CRTDLL: _strninc\n")); 1862 return( (char *)(p+l) ); 1863 } 1864 1865 1866 /********************************************************************* 1867 * CRTDLL__strnset (CRTDLL.293) 1868 */ 1869 char * CDECL CRTDLL__strnset( char *string, int c, size_t len ) 1870 { 1871 dprintf(("CRTDLL: _strnset\n")); 1872 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1873 return FALSE; 1874 } 1875 1876 1877 /********************************************************************* 1878 * CRTDLL__strrev (CRTDLL.294) 1879 */ 1880 char * CDECL CRTDLL__strrev( char *string ) 1881 { 1882 dprintf(("CRTDLL: _strrev\n")); 1883 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1884 return FALSE; 1885 } 1886 1887 1888 /********************************************************************* 1889 * CRTDLL__strset (CRTDLL.295) 1890 */ 1891 char * CDECL CRTDLL__strset( char *string, int c ) 1892 { 1893 dprintf(("CRTDLL: _strset\n")); 1894 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1895 return FALSE; 1896 } 1897 1898 1899 /********************************************************************* 1900 * CRTDLL__strspnp (CRTDLL.296) 1901 */ 1902 char * CDECL CRTDLL__strspnp( const char *p1, const char *p2 ) 1903 { 1904 dprintf(("CRTDLL: _strspnp\n")); 1905 return( (*(p1 += strspn(p1,p2))!='\0') ? (char*)p1 : NULL ); 1906 } 1907 1908 1909 /********************************************************************* 1910 * CRTDLL__strtime (CRTDLL.297) 1911 */ 1912 char * CDECL CRTDLL__strtime( char *buf ) 1913 { 1914 dprintf(("CRTDLL: _strtime\n")); 1915 return (_strtime(buf)); 1916 } 1917 1918 1919 /********************************************************************* 1920 * CRTDLL__tempnam (CRTDLL.303) 1921 */ 1922 char * CDECL CRTDLL__tempnam( char *dir, char *prefix ) 1923 { 1924 dprintf(("CRTDLL: _tempnam\n")); 1925 return (_tempnam(dir, prefix)); 1926 } 1927 1928 1929 /********************************************************************* 1930 * CRTDLL__tolower (CRTDLL.305) 1931 */ 1932 int CDECL CRTDLL__tolower(int n) 1933 { 1934 dprintf(("CRTDLL: _tolower\n")); 1935 return (_tolower(n)); 1936 } 1937 1938 1939 /********************************************************************* 1940 * CRTDLL__toupper (CRTDLL.306) 1941 */ 1942 int CDECL CRTDLL__toupper(int n) 1943 { 1944 dprintf(("CRTDLL: _toupper\n")); 1945 return (_toupper(n)); 1946 } 1947 1948 1949 /********************************************************************* 1950 * CRTDLL__utime (CRTDLL.314) 1951 */ 1952 int CDECL CRTDLL__utime( char *path, struct utimbuf * times ) 1953 { 1954 dprintf(("CRTDLL: _utime\n")); 1955 return (_utime(path, times)); 1956 } 1957 1958 1959 /********************************************************************* 1960 * CRTDLL__vsnwprintf (CRTDLL.316) 1961 */ 1962 int CDECL CRTDLL__vsnwprintf( wchar_t *s1, size_t n, const wchar_t *s2, va_list arg ) 1963 { 1964 dprintf(("CRTDLL: _vsnwprintf\n")); 1965 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1966 return FALSE; 1967 } 1968 1969 1970 /********************************************************************* 1971 * CRTDLL__wcsdup (CRTDLL.317) 1972 */ 1973 wchar_t * CDECL CRTDLL__wcsdup( const wchar_t *s1 ) 1974 { 1975 dprintf(("CRTDLL: _wcsdup\n")); 1976 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1977 return FALSE; 1978 } 1979 1980 1981 /********************************************************************* 1982 * CRTDLL__wcsicoll (CRTDLL.319) 1983 */ 1984 int CDECL CRTDLL__wcsicoll( const wchar_t *s1, const wchar_t *s2 ) 1985 { 1986 dprintf(("CRTDLL: _wcsicoll\n")); 1987 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 1988 return FALSE; 1989 } 1990 1991 388 1992 /********************************************************************* 389 1993 * CRTDLL__wcsnset (CRTDLL.322) … … 395 1999 return ret; 396 2000 } 2001 2002 2003 /********************************************************************* 2004 * CRTDLL__wcsrev (CRTDLL.323) 2005 */ 2006 wchar_t * CDECL CRTDLL__wcsrev( wchar_t *s1 ) 2007 { 2008 dprintf(("CRTDLL: _wcsrev\n")); 2009 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 2010 return FALSE; 2011 } 2012 397 2013 398 2014 /*********************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.