source: trunk/src/crtdll/stubs.cpp@ 2855

Last change on this file since 2855 was 2855, checked in by sandervl, 26 years ago

PD: Added wtol, wtoi, setsystime, getsystime

File size: 31.2 KB
Line 
1/* $Id: stubs.cpp,v 1.3 2000-02-21 23:11:31 sandervl Exp $ */
2
3/*
4 * The C RunTime DLL
5 *
6 * Implements C run-time functionality as known from UNIX.
7 *
8 * Partialy based on Wine
9 *
10 * Copyright 1996,1998 Marcus Meissner
11 * Copyright 1996 Jukka Iivonen
12 * Copyright 1997 Uwe Bonnes
13 * Copyright 1999-2000 Jens Wiessner
14 *
15 * CRTDLL - Stubs
16 *
17 */
18
19#include <odin.h>
20#include <os2win.h>
21#include <conio.h>
22#include <stdio.h>
23#include <wchar.h>
24#include <wctype.h>
25
26
27/*********************************************************************
28 * __dllonexit (CRTDLL.25)
29 */
30VOID CDECL CRTDLL___dllonexit ()
31{
32 dprintf(("__dllonexit not implemented.\n"));
33 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
34}
35
36
37/*********************************************************************
38 * __fpecode (CRTDLL.27)
39 */
40int * CDECL CRTDLL___fpecode ( void )
41{
42 dprintf(("CRTDLL: __fpecode not implemented.\n"));
43 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
44 return 0;
45}
46
47
48/*********************************************************************
49 * __pxcptinfoptrs (CRTDLL.32)
50 */
51void ** CDECL CRTDLL___pxcptinfoptrs (void)
52{
53 dprintf(("CRTDLL: __pxcptinfoptrs not implemented.\n"));
54 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
55 return NULL;
56}
57
58
59/*********************************************************************
60 * _abnormal_termination (CRTDLL.36)
61 */
62int CDECL CRTDLL__abnormal_termination(void)
63{
64 dprintf(("CRTDLL: _abnormal_termination not implemented.\n"));
65 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66 return FALSE;
67}
68
69
70/*********************************************************************
71 * _chgsign (CRTDLL.53)
72 */
73double CDECL CRTDLL__chgsign(double x)
74{
75 dprintf(("CRTDLL: _chgsign not implemented.\n"));
76 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
77 return FALSE;
78}
79
80
81/*********************************************************************
82 * _commit (CRTDLL.58)
83 */
84int CDECL CRTDLL__commit( int fd )
85{
86 dprintf(("CRTDLL: _commit not implemented.\n"));
87 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
88 return FALSE;
89}
90
91
92/*********************************************************************
93 * _copysign (CRTDLL.62)
94 */
95double CDECL CRTDLL__copysign( double d, double s )
96{
97 dprintf(("CRTDLL: _copysign not implemented\n"));
98 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
99 return FALSE;
100}
101
102
103/*********************************************************************
104 * _expand (CRTDLL.88)
105 */
106void * CDECL CRTDLL__expand( void *ptr, size_t size )
107{
108 dprintf(("CRTDLL: _expand not implemented.\n"));
109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
110 return FALSE;
111}
112
113
114/*********************************************************************
115 * _filbuf (CRTDLL.94)
116 */
117int CDECL CRTDLL__filbuf(FILE * f)
118{
119 dprintf(("CRTDLL: _filbuf not implemented.\n"));
120 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
121 return FALSE;
122}
123
124
125/*********************************************************************
126* _findclose (CRTDLL.098)
127*/
128int CDECL CRTDLL__findclose( long handle )
129{
130 dprintf(("CRTDLL: _findclose not implemented.\n"));
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
132 return FALSE;
133}
134
135
136/*********************************************************************
137 * _findfirst (CRTDLL.099)
138 */
139DWORD CDECL CRTDLL__findfirst(const char *_name, struct _finddata_t *result)
140{
141 dprintf(("CRTDLL: _findfirst not implemented.\n"));
142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
143 return FALSE;
144}
145
146
147/*********************************************************************
148 * _findnext (CRTDLL.100)
149 */
150INT CDECL CRTDLL__findnext(DWORD hand, struct find_t * x2)
151{
152 dprintf(("CRTDLL: _findnext not implemented.\n"));
153 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
154 return FALSE;
155}
156
157
158/*********************************************************************
159 * _finite (CRTDLL.101)
160 */
161INT CDECL CRTDLL__finite(double x)
162{
163 dprintf(("CRTDLL: _finite not implemented.\n"));
164 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
165 return FALSE;
166}
167
168
169/*********************************************************************
170 * _flsbuf (CRTDLL.102)
171 */
172INT CDECL CRTDLL__flsbuf(int i, FILE * f)
173{
174 dprintf(("CRTDLL: _flsbuf not implemented.\n"));
175 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
176 return FALSE;
177}
178
179
180/*********************************************************************
181 * _fpclass (CRTDLL.105)
182 */
183INT CDECL CRTDLL__fpclass( double d )
184{
185 dprintf(("CRTDLL: _fpclass not implemented.\n"));
186 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
187 return FALSE;
188}
189
190
191/*********************************************************************
192 * _fpieee_flt (CRTDLL.106)
193 */
194INT CDECL CRTDLL__fpieee_flt( unsigned long exc_code, struct _EXCEPTION_POINTERS *exc_info, int handler)
195{
196 dprintf(("CRTDLL: _fpieee_flt not implemented.\n"));
197 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
198 return 0;
199}
200
201
202/*********************************************************************
203 * _fputwchar (CRTDLL.109)
204 */
205wint_t CDECL CRTDLL__fputwchar( wint_t )
206{
207 dprintf(("CRTDLL: _fputwchar not implemented.\n"));
208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
209 return FALSE;
210}
211
212
213/*********************************************************************
214 * _fsopen (CRTDLL.110)
215 */
216FILE * CDECL CRTDLL__fsopen( const char *file, const char *mode, int shflag )
217{
218 dprintf(("CRTDLL: _fsopen not implemented.\n"));
219 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
220 return FALSE;
221}
222
223
224/*********************************************************************
225 * _futime (CRTDLL.115)
226 */
227int CDECL CRTDLL__futime( int handle, struct _utimbuf *filetime )
228{
229 dprintf(("CRTDLL: _futime not implemented.\n"));
230 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
231 return FALSE;
232}
233
234
235/*********************************************************************
236 * _get_osfhandle (CRTDLL.117)
237 */
238void* CDECL CRTDLL__get_osfhandle( int fileno )
239{
240 dprintf(("CRTDLL: _get_osfhandle not implemented.\n"));
241 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
242 return 0;
243}
244
245
246/*********************************************************************
247 * _getdiskfree (CRTDLL.122)
248 */
249unsigned int CDECL CRTDLL__getdiskfree( unsigned int drive, struct _diskfree_t *diskspace)
250{
251 dprintf(("CRTDLL: _getdiskfree not implemented\n"));
252 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
253 return 0;
254}
255
256
257/*********************************************************************
258 * _getdllprocaddr (CRTDLL.123)
259 */
260FARPROC CDECL CRTDLL__getdllprocaddr(HMODULE hModule,char * lpProcName, int iOrdinal)
261{
262 dprintf(("CRTDLL: _getdllprocaddr not implemented.\n"));
263 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
264 return 0;
265}
266
267
268/*********************************************************************
269 * _heapwalk (CRTDLL.133)
270 */
271int CDECL CRTDLL__heapwalk( struct _heapinfo *entry )
272{
273 dprintf(("CRTDLL: _heapwalk not implemented.\n"));
274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
275 return 0;
276}
277
278
279/*********************************************************************
280 * _isatty (CRTDLL.137)
281 */
282BOOL CDECL CRTDLL__isatty(DWORD x)
283{
284 dprintf(("CRTDLL: _isatty(%ld) not implemented.\n",x));
285 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
286 return TRUE;
287}
288
289
290/*********************************************************************
291 * _ismbbalnum (CRTDLL.139)
292 */
293int CDECL CRTDLL__ismbbalnum( unsigned int c )
294{
295 dprintf(("CRTDLL: _ismbbalnum\n"));
296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
297 return 0;
298}
299
300
301/*********************************************************************
302 * _ismbbalpha (CRTDLL.140)
303 */
304int CDECL CRTDLL__ismbbalpha( unsigned int c )
305{
306 dprintf(("CRTDLL: _ismbbalpha\n"));
307 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
308 return 0;
309}
310
311
312/*********************************************************************
313 * _ismbbgraph (CRTDLL.141)
314 */
315int CDECL CRTDLL__ismbbgraph( unsigned int c )
316{
317 dprintf(("CRTDLL: _ismbbgraph\n"));
318 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
319 return 0;
320}
321
322
323/*********************************************************************
324 * _ismbbkalnum (CRTDLL.142)
325 */
326int CDECL CRTDLL__ismbbkalnum( unsigned int c )
327{
328 dprintf(("CRTDLL: _ismbbkalnum\n"));
329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
330 return 0;
331}
332
333
334/*********************************************************************
335 * _ismbbkana (CRTDLL.143)
336 */
337int CDECL CRTDLL__ismbbkana( unsigned int c )
338{
339 dprintf(("CRTDLL: _ismbbkana\n"));
340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
341 return 0;
342}
343
344
345/*********************************************************************
346 * _ismbbkpunct (CRTDLL.144)
347 */
348int CDECL CRTDLL__ismbbkpunct( unsigned int c )
349{
350 dprintf(("CRTDLL: _ismbbkpunct\n"));
351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
352 return 0;
353}
354
355
356/*********************************************************************
357 * _ismbblead (CRTDLL.145)
358 */
359int CDECL CRTDLL__ismbblead( unsigned int c )
360{
361 dprintf(("CRTDLL: _ismbblead\n"));
362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
363 return 0;
364}
365
366
367/*********************************************************************
368 * _ismbbprint (CRTDLL.146)
369 */
370int CDECL CRTDLL__ismbbprint( unsigned int c )
371{
372 dprintf(("CRTDLL: _ismbbprint\n"));
373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
374 return 0;
375}
376
377
378/*********************************************************************
379 * _ismbbpunct (CRTDLL.147)
380 */
381int CDECL CRTDLL__ismbbpunct( unsigned int c )
382{
383 dprintf(("CRTDLL: _ismbbpunct\n"));
384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
385 return 0;
386}
387
388
389/*********************************************************************
390 * _ismbbtrail (CRTDLL.148)
391 */
392int CDECL CRTDLL__ismbbtrail( unsigned int c )
393{
394 dprintf(("CRTDLL: _ismbbtrail\n"));
395 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
396 return 0;
397}
398
399
400/*********************************************************************
401 * _ismbcalpha (CRTDLL.149)
402 */
403int CDECL CRTDLL__ismbcalpha( unsigned int c )
404{
405 dprintf(("CRTDLL: _ismbcalpha\n"));
406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
407 return 0;
408}
409
410
411/*********************************************************************
412 * _ismbcdigit (CRTDLL.150)
413 */
414int CDECL CRTDLL__ismbcdigit( unsigned int c )
415{
416 dprintf(("CRTDLL: _ismbcdigit\n"));
417 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
418 return 0;
419}
420
421
422/*********************************************************************
423 * _ismbchira (CRTDLL.151)
424 */
425int CDECL CRTDLL__ismbchira( unsigned int c )
426{
427 dprintf(("CRTDLL: _ismbchira\n"));
428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
429 return 0;
430}
431
432
433/*********************************************************************
434 * _ismbckata (CRTDLL.152)
435 */
436int CDECL CRTDLL__ismbckata( unsigned int c )
437{
438 dprintf(("CRTDLL: _ismbckata\n"));
439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
440 return 0;
441}
442
443
444/*********************************************************************
445 * _ismbcl0 (CRTDLL.153)
446 */
447int CDECL CRTDLL__ismbcl0( unsigned int ch )
448{
449 dprintf(("CRTDLL: _ismbcl0 not implemented.\n"));
450 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
451 return 0;
452}
453
454
455/*********************************************************************
456 * _ismbcl1 (CRTDLL.154)
457 */
458int CDECL CRTDLL__ismbcl1( unsigned int ch )
459{
460 dprintf(("CRTDLL: _ismbcl1 not implemented.\n"));
461 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
462 return 0;
463}
464
465
466/*********************************************************************
467 * _ismbcl2 (CRTDLL.155)
468 */
469int CDECL CRTDLL__ismbcl2( unsigned int ch )
470{
471 dprintf(("CRTDLL: _ismbcl2 not implemented.\n"));
472 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
473 return 0;
474}
475
476
477/*********************************************************************
478 * _ismbclegal (CRTDLL.156)
479 */
480int CDECL CRTDLL__ismbclegal( unsigned int c )
481{
482 dprintf(("CRTDLL: _ismbclegal\n"));
483 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
484 return 0;
485}
486
487
488/*********************************************************************
489 * _ismbclower (CRTDLL.157)
490 */
491int CDECL CRTDLL__ismbclower( unsigned int c )
492{
493 dprintf(("CRTDLL: _ismbclower\n"));
494 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
495 return 0;
496}
497
498
499/*********************************************************************
500 * _ismbcprint (CRTDLL.158)
501 */
502int CDECL CRTDLL__ismbcprint( unsigned int c )
503{
504 dprintf(("CRTDLL: _ismbcprint\n"));
505 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
506 return 0;
507}
508
509
510/*********************************************************************
511 * _ismbcspace (CRTDLL.159)
512 */
513int CDECL CRTDLL__ismbcspace( unsigned int c )
514{
515 dprintf(("CRTDLL: _ismbcspace not implemented.\n"));
516 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
517 return 0;
518}
519
520
521/*********************************************************************
522 * _ismbcsymbol (CRTDLL.160)
523 */
524int CDECL CRTDLL__ismbcsymbol( unsigned int c )
525{
526 dprintf(("CRTDLL: _ismbcsymbol not implemented.\n"));
527 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
528 return 0;
529}
530
531
532/*********************************************************************
533 * _ismbcupper (CRTDLL.161)
534 */
535int CDECL CRTDLL__ismbcupper( unsigned int c )
536{
537 dprintf(("CRTDLL: _ismbcupper\n"));
538 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
539 return 0;
540}
541
542
543/*********************************************************************
544 * _ismbslead (CRTDLL.162)
545 */
546int CDECL CRTDLL__ismbslead(const unsigned char *str, const unsigned char *t)
547{
548 dprintf(("CRTDLL: _ismbslead\n"));
549 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
550 return 0;
551}
552
553
554/*********************************************************************
555 * _ismbstrail (CRTDLL.163)
556 */
557int CDECL CRTDLL__ismbstrail(const unsigned char *str, const unsigned char *t)
558{
559 dprintf(("CRTDLL: _ismbstrail\n"));
560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
561 return 0;
562}
563
564
565/*********************************************************************
566 * _isnan (CRTDLL.164)
567 */
568int CDECL CRTDLL__isnan( double x )
569{
570 dprintf(("CRTDLL: _isnan not implemented.\n"));
571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
572 return FALSE;
573}
574
575
576/*********************************************************************
577 * _lfind (CRTDLL.170)
578 */
579void * CDECL CRTDLL__lfind(const void *key, const void *base, size_t *nelp,
580 size_t width, int (*compar)(const void *, const void *))
581{
582 dprintf(("CRTDLL: _lfind not implemented.\n"));
583 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
584 return FALSE;
585}
586
587
588/*********************************************************************
589 * _locking (CRTDLL.173)
590 */
591int CDECL CRTDLL__locking( int fd, int mode, long nbytes )
592{
593 dprintf(("CRTDLL: _locking not implemented.\n"));
594 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
595 return FALSE;
596}
597
598
599/*********************************************************************
600 * _logb (CRTDLL.174)
601 */
602double CDECL CRTDLL__logb( double x )
603{
604 dprintf(("CRTDLL: _logb not implemented.\n"));
605 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
606 return FALSE;
607}
608
609
610/*********************************************************************
611 * _lsearch (CRTDLL.177)
612 */
613void * CDECL CRTDLL__lsearch(const void *key, void *base, size_t *nelp, size_t width,
614 int (*compar)(const void *, const void *))
615{
616 dprintf(("CRTDLL: _lsearch not implemented.\n"));
617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
618 return FALSE;
619}
620
621
622/*********************************************************************
623 * _mbbtombc (CRTDLL.182)
624 */
625unsigned int CDECL CRTDLL__mbbtombc( unsigned int c )
626{
627 dprintf(("CRTDLL: _mbbtombc not implemented.\n"));
628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
629 return FALSE;
630}
631
632
633/*********************************************************************
634 * _mbbtype (CRTDLL.183)
635 */
636int CDECL CRTDLL__mbbtype( unsigned char c, int type )
637{
638 dprintf(("CRTDLL: _mbbtype not implemented.\n"));
639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
640 return FALSE;
641}
642
643
644/*********************************************************************
645 * _mbccpy (CRTDLL.184)
646 */
647void CDECL CRTDLL__mbccpy( unsigned char *dst, const unsigned char *src )
648{
649 dprintf(("CRTDLL: _mbccpy not implemented.\n"));
650 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
651}
652
653
654/*********************************************************************
655 * _mbcjistojms (CRTDLL.185)
656 */
657int CDECL CRTDLL__mbcjistojms( unsigned int c )
658{
659 dprintf(("CRTDLL: _mbcjistojms not implemented.\n"));
660 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
661 return FALSE;
662}
663
664
665/*********************************************************************
666 * _mbcjmstojis (CRTDLL.186)
667 */
668int CDECL CRTDLL__mbcjmstojis( unsigned int c )
669{
670 dprintf(("CRTDLL: _mbcjmstojis not implemented.\n"));
671 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
672 return FALSE;
673}
674
675
676/*********************************************************************
677 * _mbclen (CRTDLL.187)
678 */
679size_t CDECL CRTDLL__mbclen( const unsigned char *s )
680{
681 dprintf(("CRTDLL: _mbclen not implemented.\n"));
682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
683 return FALSE;
684}
685
686
687/*********************************************************************
688 * _mbctohira (CRTDLL.188)
689 */
690int CDECL CRTDLL__mbctohira( unsigned int c )
691{
692 dprintf(("CRTDLL: _mbctohira not implemented.\n"));
693 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
694 return FALSE;
695}
696
697
698/*********************************************************************
699 * _mbctokata (CRTDLL.189)
700 */
701int CDECL CRTDLL__mbctokata( unsigned int c )
702{
703 dprintf(("CRTDLL: _mbctokata not implemented.\n"));
704 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
705 return FALSE;
706}
707
708
709/*********************************************************************
710 * _mbctolower (CRTDLL.190)
711 */
712unsigned int CDECL CRTDLL__mbctolower( unsigned int c )
713{
714 dprintf(("CRTDLL: _mbctolower not implemented.\n"));
715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
716 return FALSE;
717}
718
719
720/*********************************************************************
721 * _mbctombb (CRTDLL.191)
722 */
723unsigned int CDECL CRTDLL__mbctombb( unsigned int c )
724{
725 dprintf(("CRTDLL: _mbctombb not implemented.\n"));
726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
727 return FALSE;
728}
729
730
731/*********************************************************************
732 * _mbctoupper (CRTDLL.192)
733 */
734unsigned int CDECL CRTDLL__mbctoupper( unsigned int c )
735{
736 dprintf(("CRTDLL: _mbctoupper not implemented.\n"));
737 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
738 return FALSE;
739}
740
741
742/*********************************************************************
743 * _mbsbtype (CRTDLL.194)
744 */
745int CDECL CRTDLL__mbsbtype( const unsigned char *str, int n )
746{
747 dprintf(("CRTDLL: _mbsbtype not implemented.\n"));
748 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
749 return FALSE;
750}
751
752
753/*********************************************************************
754 * _mbscspn (CRTDLL.199)
755 */
756size_t CDECL CRTDLL__mbscspn( const unsigned char *s1, const unsigned char *s2 )
757{
758 dprintf(("CRTDLL: _mbscspn not implemented.\n"));
759 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
760 return FALSE;
761}
762
763
764/*********************************************************************
765 * _mbsdec (CRTDLL.200)
766 */
767unsigned char * CDECL CRTDLL__mbsdec( const unsigned char *str, const unsigned char *cur )
768{
769 dprintf(("CRTDLL: _mbsdec not implemented.\n"));
770 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
771 return FALSE;
772}
773
774
775/*********************************************************************
776 * _mbslwr (CRTDLL.205)
777 */
778unsigned char * CDECL CRTDLL__mbslwr( unsigned char *x )
779{
780 dprintf(("CRTDLL: _mbslwr not implemented.\n"));
781 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
782 return FALSE;
783}
784
785
786/*********************************************************************
787 * _mbsnbcat (CRTDLL.206)
788 */
789unsigned char * CDECL CRTDLL__mbsnbcat( unsigned char *dst, const unsigned char *src, size_t n )
790{
791 dprintf(("CRTDLL: _mbsnbcat not implemented.\n"));
792 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
793 return FALSE;
794}
795
796
797/*********************************************************************
798 * _mbsnbcmp (CRTDLL.207)
799 */
800int CDECL CRTDLL__mbsnbcmp( const unsigned char *str1, const unsigned char *str2, size_t n )
801{
802 dprintf(("CRTDLL: _mbsnbcmp not implemented.\n"));
803 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
804 return FALSE;
805}
806
807
808/*********************************************************************
809 * _mbsnbcnt (CRTDLL.208)
810 */
811size_t CDECL CRTDLL__mbsnbcnt( const unsigned char *str, size_t n )
812{
813 dprintf(("CRTDLL: _mbsnbcnt not implemented.\n"));
814 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
815 return FALSE;
816}
817
818
819/*********************************************************************
820 * _mbsnbcpy (CRTDLL.209)
821 */
822unsigned char * CDECL CRTDLL__mbsnbcpy( unsigned char *str1, const unsigned char *str2, size_t n )
823{
824 dprintf(("CRTDLL: _mbsnbcpy not implemented.\n"));
825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
826 return FALSE;
827}
828
829
830/*********************************************************************
831 * _mbsnbicmp (CRTDLL.210)
832 */
833int CDECL CRTDLL__mbsnbicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
834{
835 dprintf(("CRTDLL: _mbsnbicmp not implemented.\n"));
836 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
837 return FALSE;
838}
839
840
841/*********************************************************************
842 * _mbsnbset (CRTDLL.211)
843 */
844unsigned char * CDECL CRTDLL__mbsnbset( unsigned char *src, unsigned int val, size_t count )
845{
846 dprintf(("CRTDLL: _mbsnbset not implemented.\n"));
847 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
848 return FALSE;
849}
850
851
852/*********************************************************************
853 * _mbsncat (CRTDLL.212)
854 */
855unsigned char * CDECL CRTDLL__mbsncat( unsigned char *dst, const unsigned char *src, size_t n )
856{
857 dprintf(("CRTDLL: _mbsncat not implemented.\n"));
858 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
859 return FALSE;
860}
861
862
863/*********************************************************************
864 * _mbsnccnt (CRTDLL.213)
865 */
866size_t CDECL CRTDLL__mbsnccnt( const unsigned char *str, size_t n )
867{
868 dprintf(("CRTDLL: _mbsnccnt not implemented.\n"));
869 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
870 return FALSE;
871}
872
873
874/*********************************************************************
875 * _mbsncmp (CRTDLL.214)
876 */
877int CDECL CRTDLL__mbsncmp( const unsigned char *str1, const unsigned char *str2, size_t n )
878{
879 dprintf(("CRTDLL: _mbsncmp not implemented.\n"));
880 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
881 return FALSE;
882}
883
884
885/*********************************************************************
886 * _mbsncpy (CRTDLL.215)
887 */
888unsigned char * CDECL CRTDLL__mbsncpy( unsigned char *str1, const unsigned char *str2, size_t n )
889{
890 dprintf(("CRTDLL: _mbsncpy not implemented.\n"));
891 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
892 return FALSE;
893}
894
895
896/*********************************************************************
897 * _mbsnextc (CRTDLL.216)
898 */
899unsigned int CDECL CRTDLL__mbsnextc( const unsigned char *src )
900{
901 dprintf(("CRTDLL: _mbsnextc not implemented.\n"));
902 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
903 return FALSE;
904}
905
906
907/*********************************************************************
908 * _mbsnicmp (CRTDLL.217)
909 */
910int CDECL CRTDLL__mbsnicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
911{
912 dprintf(("CRTDLL: _mbsnicmp not implemented.\n"));
913 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
914 return FALSE;
915}
916
917
918/*********************************************************************
919 * _mbsninc (CRTDLL.218)
920 */
921unsigned char * CDECL CRTDLL__mbsninc( const unsigned char *str, size_t n )
922{
923 dprintf(("CRTDLL: _mbsninc not implemented.\n"));
924 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
925 return FALSE;
926}
927
928
929/*********************************************************************
930 * _mbsnset (CRTDLL.219)
931 */
932unsigned char * CDECL CRTDLL__mbsnset( unsigned char *src, unsigned int val, size_t count )
933{
934 dprintf(("CRTDLL: _mbsnset not implemented.\n"));
935 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
936 return FALSE;
937}
938
939
940/*********************************************************************
941 * _mbspbrk (CRTDLL.220)
942 */
943unsigned char * CDECL CRTDLL__mbspbrk( const unsigned char *s1, const unsigned char *s2 )
944{
945 dprintf(("CRTDLL: _mbspbrk not implemented.\n"));
946 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
947 return FALSE;
948}
949
950
951/*********************************************************************
952 * _mbsrev (CRTDLL.222)
953 */
954unsigned char * CDECL CRTDLL__mbsrev( unsigned char *s )
955{
956 dprintf(("CRTDLL: _mbsrev not implemented.\n"));
957 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
958 return FALSE;
959}
960
961
962/*********************************************************************
963 * _mbsset (CRTDLL.223)
964 */
965unsigned char * CDECL CRTDLL__mbsset( unsigned char *src, unsigned int c )
966{
967 dprintf(("CRTDLL: _mbsset not implemented.\n"));
968 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
969 return FALSE;
970}
971
972
973/*********************************************************************
974 * _mbsspn (CRTDLL.224)
975 */
976size_t CDECL CRTDLL__mbsspn( const unsigned char *s1, const unsigned char *s2 )
977{
978 dprintf(("CRTDLL: _mbsspn not implemented.\n"));
979 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
980 return FALSE;
981}
982
983
984/*********************************************************************
985 * _mbsspnp (CRTDLL.225)
986 */
987unsigned char * CDECL CRTDLL__mbsspnp( const unsigned char *s1, const unsigned char *s2 )
988{
989 dprintf(("CRTDLL: _mbsspnp not implemented.\n"));
990 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
991 return FALSE;
992}
993
994
995/*********************************************************************
996 * _mbstok (CRTDLL.227)
997 */
998unsigned char * CDECL CRTDLL__mbstok( unsigned char *s, const unsigned char *delim )
999{
1000 dprintf(("CRTDLL: _mbstok not implemented.\n"));
1001 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1002 return FALSE;
1003}
1004
1005
1006/*********************************************************************
1007 * _mbstrlen (CRTDLL.228)
1008 */
1009size_t CDECL CRTDLL__mbstrlen(const char *string)
1010{
1011 dprintf(("CRTDLL: _mbstrlen not implemented.\n"));
1012 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1013 return FALSE;
1014}
1015
1016
1017/*********************************************************************
1018 * _mbsupr (CRTDLL.229)
1019 */
1020unsigned char * CDECL CRTDLL__mbsupr( unsigned char *x )
1021{
1022 dprintf(("CRTDLL: _mbsupr not implemented.\n"));
1023 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1024 return FALSE;
1025}
1026
1027
1028/*********************************************************************
1029 * _nextafter (CRTDLL.235)
1030 */
1031double CDECL CRTDLL__nextafter( double x, double y )
1032{
1033 dprintf(("CRTDLL: _nextafter not implemented.\n"));
1034 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1035 return FALSE;
1036}
1037
1038
1039/*********************************************************************
1040 * _pclose (CRTDLL.244)
1041 */
1042INT CDECL CRTDLL__pclose( FILE *fp )
1043{
1044 dprintf(("CRTDLL: _pclose not implemented.\n"));
1045 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1046 return FALSE;
1047}
1048
1049
1050/*********************************************************************
1051 * _pipe (CRTDLL.247)
1052 */
1053INT CDECL CRTDLL__pipe(int _fildes[2], unsigned int size, int mode )
1054{
1055 dprintf(("CRTDLL: _pipe not implemented.\n"));
1056 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1057 return FALSE;
1058}
1059
1060
1061/*********************************************************************
1062 * _popen (CRTDLL.248)
1063 */
1064FILE * CDECL CRTDLL__popen(const char *cm, const char *md)
1065{
1066 dprintf(("CRTDLL: _popen not implemented.\n"));
1067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1068 return FALSE;
1069}
1070
1071
1072/*********************************************************************
1073 * _scalb (CRTDLL.259)
1074 */
1075double CDECL CRTDLL__scalb( double x, long e )
1076{
1077 dprintf(("CRTDLL: _scalb not implemented.\n"));
1078 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1079 return FALSE;
1080}
1081
1082
1083/*********************************************************************
1084 * _snprintf (CRTDLL.266)
1085 */
1086int CDECL CRTDLL__snprintf( char *buf, size_t bufsize, const char *fmt, ... )
1087{
1088 dprintf(("CRTDLL: _snprintf(%08xh, %08xh, %08xh) not implemented\n",
1089 buf,
1090 bufsize,
1091 fmt));
1092 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1093 return 0;
1094}
1095
1096
1097/*********************************************************************
1098 * _snwprintf (CRTDLL.267)
1099 */
1100int CDECL CRTDLL__snwprintf( wchar_t *buf, size_t bufsize, const wchar_t *fmt, ... )
1101{
1102 dprintf(("CRTDLL: _snwprintf(%08xh, %08xh, %08xh) not implemented\n",
1103 buf,
1104 bufsize,
1105 fmt));
1106 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1107 return 0;
1108}
1109
1110
1111/*********************************************************************
1112 * _tzset (CRTDLL.308)
1113 */
1114void CDECL CRTDLL__tzset( void )
1115{
1116 dprintf(("CRTDLL: _tzset not implemented.\n"));
1117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1118}
1119
1120
1121/*********************************************************************
1122 * _vsnwprintf (CRTDLL.316)
1123 */
1124int CDECL CRTDLL__vsnwprintf( wchar_t *s1, size_t n, const wchar_t *s2, va_list arg )
1125{
1126 dprintf(("CRTDLL: _vsnwprintf not implemented.\n"));
1127 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1128 return FALSE;
1129}
1130
1131
1132/*********************************************************************
1133 * fwprintf (CRTDLL.382)
1134 */
1135int CDECL CRTDLL_fwprintf( FILE *iop, const wchar_t *fmt, ... )
1136{
1137 dprintf(("CRTDLL: fwprintf not implemented.\n"));
1138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1139 return FALSE;
1140}
1141
1142
1143/*********************************************************************
1144 * fwscanf (CRTDLL.384)
1145 */
1146int CDECL CRTDLL_fwscanf( FILE *strm, const wchar_t *format, ... )
1147{
1148 dprintf(("CRTDLL: fwscanf not implemented.\n"));
1149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1150 return FALSE;
1151}
1152
1153
1154/*********************************************************************
1155 * is_wctype (CRTDLL.390)
1156 */
1157INT CDECL CRTDLL_is_wctype(wint_t wc, wctype_t wctype)
1158{
1159 dprintf(("CRTDLL: is_wctype not implemented.\n"));
1160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1161 return FALSE;
1162}
1163
1164
1165/*********************************************************************
1166 * isleadbyte (CRTDLL.396)
1167 */
1168int CDECL CRTDLL_isleadbyte(int i)
1169{
1170 dprintf(("CRTDLL: isleadbyte(%08xh) not implemented.\n", i));
1171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1172 return FALSE;
1173}
1174
1175
1176/*********************************************************************
1177 * vfwprintf (CRTDLL.495)
1178 */
1179int CDECL CRTDLL_vfwprintf( FILE *F, const wchar_t *s, va_list arg )
1180{
1181 dprintf(("CRTDLL: vfwprintf not implemented.\n"));
1182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1183 return FALSE;
1184}
1185
1186
1187/*********************************************************************
1188 * vwprintf (CRTDLL.499)
1189 */
1190int CDECL CRTDLL_vwprintf( const wchar_t *s, va_list arg)
1191{
1192 dprintf(("CRTDLL: vwprintf not implemented.\n"));
1193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1194 return FALSE;
1195}
1196
1197
1198/*********************************************************************
1199 * wprintf (CRTDLL.522)
1200 */
1201int CDECL CRTDLL_wprintf( const wchar_t *s, ... )
1202{
1203 dprintf(("CRTDLL: wprintf not implemented.\n"));
1204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1205 return FALSE;
1206}
1207
1208
1209/*********************************************************************
1210 * wscanf (CRTDLL.523)
1211 */
1212int CDECL CRTDLL_wscanf( const wchar_t *s, ... )
1213{
1214 dprintf(("CRTDLL: wscanf not implemented.\n"));
1215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1216 return FALSE;
1217}
1218
Note: See TracBrowser for help on using the repository browser.