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

Last change on this file since 6496 was 4667, checked in by phaller, 25 years ago

Major move towards WINE CRTDLL, mixture between both code branches

File size: 25.6 KB
Line 
1/* $Id: stubs.cpp,v 1.4 2000-11-21 23:48:53 phaller 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 * __fpecode (CRTDLL.27)
29 */
30int * CDECL CRTDLL___fpecode ( void )
31{
32 dprintf(("CRTDLL: __fpecode not implemented.\n"));
33 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
34 return 0;
35}
36
37
38/*********************************************************************
39 * __pxcptinfoptrs (CRTDLL.32)
40 */
41void ** CDECL CRTDLL___pxcptinfoptrs (void)
42{
43 dprintf(("CRTDLL: __pxcptinfoptrs not implemented.\n"));
44 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
45 return NULL;
46}
47
48
49/*********************************************************************
50 * _fpclass (CRTDLL.105)
51 */
52INT CDECL CRTDLL__fpclass( double d )
53{
54 dprintf(("CRTDLL: _fpclass not implemented.\n"));
55 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56 return FALSE;
57}
58
59
60/*********************************************************************
61 * _fpieee_flt (CRTDLL.106)
62 */
63INT CDECL CRTDLL__fpieee_flt( unsigned long exc_code, struct _EXCEPTION_POINTERS *exc_info, int handler)
64{
65 dprintf(("CRTDLL: _fpieee_flt not implemented.\n"));
66 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
67 return 0;
68}
69
70
71/*********************************************************************
72 * _fputwchar (CRTDLL.109)
73 */
74wint_t CDECL CRTDLL__fputwchar( wint_t )
75{
76 dprintf(("CRTDLL: _fputwchar not implemented.\n"));
77 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
78 return FALSE;
79}
80
81
82/*********************************************************************
83 * _futime (CRTDLL.115)
84 */
85int CDECL CRTDLL__futime( int handle, struct _utimbuf *filetime )
86{
87 dprintf(("CRTDLL: _futime not implemented.\n"));
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return FALSE;
90}
91
92
93/*********************************************************************
94 * _getdllprocaddr (CRTDLL.123)
95 */
96FARPROC CDECL CRTDLL__getdllprocaddr(HMODULE hModule,char * lpProcName, int iOrdinal)
97{
98 dprintf(("CRTDLL: _getdllprocaddr not implemented.\n"));
99 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
100 return 0;
101}
102
103
104/*********************************************************************
105 * _ismbbalnum (CRTDLL.139)
106 */
107int CDECL CRTDLL__ismbbalnum( unsigned int c )
108{
109 dprintf(("CRTDLL: _ismbbalnum\n"));
110 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
111 return 0;
112}
113
114
115/*********************************************************************
116 * _ismbbalpha (CRTDLL.140)
117 */
118int CDECL CRTDLL__ismbbalpha( unsigned int c )
119{
120 dprintf(("CRTDLL: _ismbbalpha\n"));
121 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
122 return 0;
123}
124
125
126/*********************************************************************
127 * _ismbbgraph (CRTDLL.141)
128 */
129int CDECL CRTDLL__ismbbgraph( unsigned int c )
130{
131 dprintf(("CRTDLL: _ismbbgraph\n"));
132 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
133 return 0;
134}
135
136
137/*********************************************************************
138 * _ismbbkalnum (CRTDLL.142)
139 */
140int CDECL CRTDLL__ismbbkalnum( unsigned int c )
141{
142 dprintf(("CRTDLL: _ismbbkalnum\n"));
143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
144 return 0;
145}
146
147
148/*********************************************************************
149 * _ismbbkana (CRTDLL.143)
150 */
151int CDECL CRTDLL__ismbbkana( unsigned int c )
152{
153 dprintf(("CRTDLL: _ismbbkana\n"));
154 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
155 return 0;
156}
157
158
159/*********************************************************************
160 * _ismbbkpunct (CRTDLL.144)
161 */
162int CDECL CRTDLL__ismbbkpunct( unsigned int c )
163{
164 dprintf(("CRTDLL: _ismbbkpunct\n"));
165 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
166 return 0;
167}
168
169
170/*********************************************************************
171 * _ismbblead (CRTDLL.145)
172 */
173int CDECL CRTDLL__ismbblead( unsigned int c )
174{
175 dprintf(("CRTDLL: _ismbblead\n"));
176 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
177 return 0;
178}
179
180
181/*********************************************************************
182 * _ismbbprint (CRTDLL.146)
183 */
184int CDECL CRTDLL__ismbbprint( unsigned int c )
185{
186 dprintf(("CRTDLL: _ismbbprint\n"));
187 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
188 return 0;
189}
190
191
192/*********************************************************************
193 * _ismbbpunct (CRTDLL.147)
194 */
195int CDECL CRTDLL__ismbbpunct( unsigned int c )
196{
197 dprintf(("CRTDLL: _ismbbpunct\n"));
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
199 return 0;
200}
201
202
203/*********************************************************************
204 * _ismbbtrail (CRTDLL.148)
205 */
206int CDECL CRTDLL__ismbbtrail( unsigned int c )
207{
208 dprintf(("CRTDLL: _ismbbtrail\n"));
209 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
210 return 0;
211}
212
213
214/*********************************************************************
215 * _ismbcalpha (CRTDLL.149)
216 */
217int CDECL CRTDLL__ismbcalpha( unsigned int c )
218{
219 dprintf(("CRTDLL: _ismbcalpha\n"));
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
221 return 0;
222}
223
224
225/*********************************************************************
226 * _ismbcdigit (CRTDLL.150)
227 */
228int CDECL CRTDLL__ismbcdigit( unsigned int c )
229{
230 dprintf(("CRTDLL: _ismbcdigit\n"));
231 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
232 return 0;
233}
234
235
236/*********************************************************************
237 * _ismbchira (CRTDLL.151)
238 */
239int CDECL CRTDLL__ismbchira( unsigned int c )
240{
241 dprintf(("CRTDLL: _ismbchira\n"));
242 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
243 return 0;
244}
245
246
247/*********************************************************************
248 * _ismbckata (CRTDLL.152)
249 */
250int CDECL CRTDLL__ismbckata( unsigned int c )
251{
252 dprintf(("CRTDLL: _ismbckata\n"));
253 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
254 return 0;
255}
256
257
258/*********************************************************************
259 * _ismbcl0 (CRTDLL.153)
260 */
261int CDECL CRTDLL__ismbcl0( unsigned int ch )
262{
263 dprintf(("CRTDLL: _ismbcl0 not implemented.\n"));
264 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
265 return 0;
266}
267
268
269/*********************************************************************
270 * _ismbcl1 (CRTDLL.154)
271 */
272int CDECL CRTDLL__ismbcl1( unsigned int ch )
273{
274 dprintf(("CRTDLL: _ismbcl1 not implemented.\n"));
275 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
276 return 0;
277}
278
279
280/*********************************************************************
281 * _ismbcl2 (CRTDLL.155)
282 */
283int CDECL CRTDLL__ismbcl2( unsigned int ch )
284{
285 dprintf(("CRTDLL: _ismbcl2 not implemented.\n"));
286 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
287 return 0;
288}
289
290
291/*********************************************************************
292 * _ismbclegal (CRTDLL.156)
293 */
294int CDECL CRTDLL__ismbclegal( unsigned int c )
295{
296 dprintf(("CRTDLL: _ismbclegal\n"));
297 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
298 return 0;
299}
300
301
302/*********************************************************************
303 * _ismbclower (CRTDLL.157)
304 */
305int CDECL CRTDLL__ismbclower( unsigned int c )
306{
307 dprintf(("CRTDLL: _ismbclower\n"));
308 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
309 return 0;
310}
311
312
313/*********************************************************************
314 * _ismbcprint (CRTDLL.158)
315 */
316int CDECL CRTDLL__ismbcprint( unsigned int c )
317{
318 dprintf(("CRTDLL: _ismbcprint\n"));
319 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
320 return 0;
321}
322
323
324/*********************************************************************
325 * _ismbcspace (CRTDLL.159)
326 */
327int CDECL CRTDLL__ismbcspace( unsigned int c )
328{
329 dprintf(("CRTDLL: _ismbcspace not implemented.\n"));
330 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
331 return 0;
332}
333
334
335/*********************************************************************
336 * _ismbcsymbol (CRTDLL.160)
337 */
338int CDECL CRTDLL__ismbcsymbol( unsigned int c )
339{
340 dprintf(("CRTDLL: _ismbcsymbol not implemented.\n"));
341 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
342 return 0;
343}
344
345
346/*********************************************************************
347 * _ismbcupper (CRTDLL.161)
348 */
349int CDECL CRTDLL__ismbcupper( unsigned int c )
350{
351 dprintf(("CRTDLL: _ismbcupper\n"));
352 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
353 return 0;
354}
355
356
357/*********************************************************************
358 * _ismbslead (CRTDLL.162)
359 */
360int CDECL CRTDLL__ismbslead(const unsigned char *str, const unsigned char *t)
361{
362 dprintf(("CRTDLL: _ismbslead\n"));
363 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
364 return 0;
365}
366
367
368/*********************************************************************
369 * _ismbstrail (CRTDLL.163)
370 */
371int CDECL CRTDLL__ismbstrail(const unsigned char *str, const unsigned char *t)
372{
373 dprintf(("CRTDLL: _ismbstrail\n"));
374 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
375 return 0;
376}
377
378
379/*********************************************************************
380 * _lfind (CRTDLL.170)
381 */
382void * CDECL CRTDLL__lfind(const void *key, const void *base, size_t *nelp,
383 size_t width, int (*compar)(const void *, const void *))
384{
385 dprintf(("CRTDLL: _lfind not implemented.\n"));
386 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
387 return FALSE;
388}
389
390
391/*********************************************************************
392 * _locking (CRTDLL.173)
393 */
394int CDECL CRTDLL__locking( int fd, int mode, long nbytes )
395{
396 dprintf(("CRTDLL: _locking not implemented.\n"));
397 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
398 return FALSE;
399}
400
401
402/*********************************************************************
403 * _logb (CRTDLL.174)
404 */
405double CDECL CRTDLL__logb( double x )
406{
407 dprintf(("CRTDLL: _logb not implemented.\n"));
408 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
409 return FALSE;
410}
411
412
413/*********************************************************************
414 * _mbbtombc (CRTDLL.182)
415 */
416unsigned int CDECL CRTDLL__mbbtombc( unsigned int c )
417{
418 dprintf(("CRTDLL: _mbbtombc not implemented.\n"));
419 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
420 return FALSE;
421}
422
423
424/*********************************************************************
425 * _mbbtype (CRTDLL.183)
426 */
427int CDECL CRTDLL__mbbtype( unsigned char c, int type )
428{
429 dprintf(("CRTDLL: _mbbtype not implemented.\n"));
430 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
431 return FALSE;
432}
433
434
435/*********************************************************************
436 * _mbcjistojms (CRTDLL.185)
437 */
438int CDECL CRTDLL__mbcjistojms( unsigned int c )
439{
440 dprintf(("CRTDLL: _mbcjistojms not implemented.\n"));
441 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
442 return FALSE;
443}
444
445
446/*********************************************************************
447 * _mbcjmstojis (CRTDLL.186)
448 */
449int CDECL CRTDLL__mbcjmstojis( unsigned int c )
450{
451 dprintf(("CRTDLL: _mbcjmstojis not implemented.\n"));
452 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
453 return FALSE;
454}
455
456
457/*********************************************************************
458 * _mbclen (CRTDLL.187)
459 */
460size_t CDECL CRTDLL__mbclen( const unsigned char *s )
461{
462 dprintf(("CRTDLL: _mbclen not implemented.\n"));
463 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
464 return FALSE;
465}
466
467
468/*********************************************************************
469 * _mbctohira (CRTDLL.188)
470 */
471int CDECL CRTDLL__mbctohira( unsigned int c )
472{
473 dprintf(("CRTDLL: _mbctohira not implemented.\n"));
474 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
475 return FALSE;
476}
477
478
479/*********************************************************************
480 * _mbctokata (CRTDLL.189)
481 */
482int CDECL CRTDLL__mbctokata( unsigned int c )
483{
484 dprintf(("CRTDLL: _mbctokata not implemented.\n"));
485 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
486 return FALSE;
487}
488
489
490/*********************************************************************
491 * _mbctolower (CRTDLL.190)
492 */
493unsigned int CDECL CRTDLL__mbctolower( unsigned int c )
494{
495 dprintf(("CRTDLL: _mbctolower not implemented.\n"));
496 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
497 return FALSE;
498}
499
500
501/*********************************************************************
502 * _mbctombb (CRTDLL.191)
503 */
504unsigned int CDECL CRTDLL__mbctombb( unsigned int c )
505{
506 dprintf(("CRTDLL: _mbctombb not implemented.\n"));
507 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
508 return FALSE;
509}
510
511
512/*********************************************************************
513 * _mbctoupper (CRTDLL.192)
514 */
515unsigned int CDECL CRTDLL__mbctoupper( unsigned int c )
516{
517 dprintf(("CRTDLL: _mbctoupper not implemented.\n"));
518 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
519 return FALSE;
520}
521
522
523/*********************************************************************
524 * _mbsbtype (CRTDLL.194)
525 */
526int CDECL CRTDLL__mbsbtype( const unsigned char *str, int n )
527{
528 dprintf(("CRTDLL: _mbsbtype not implemented.\n"));
529 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
530 return FALSE;
531}
532
533
534/*********************************************************************
535 * _mbscspn (CRTDLL.199)
536 */
537size_t CDECL CRTDLL__mbscspn( const unsigned char *s1, const unsigned char *s2 )
538{
539 dprintf(("CRTDLL: _mbscspn not implemented.\n"));
540 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
541 return FALSE;
542}
543
544
545/*********************************************************************
546 * _mbsdec (CRTDLL.200)
547 */
548unsigned char * CDECL CRTDLL__mbsdec( const unsigned char *str, const unsigned char *cur )
549{
550 dprintf(("CRTDLL: _mbsdec not implemented.\n"));
551 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
552 return FALSE;
553}
554
555
556/*********************************************************************
557 * _mbslwr (CRTDLL.205)
558 */
559unsigned char * CDECL CRTDLL__mbslwr( unsigned char *x )
560{
561 dprintf(("CRTDLL: _mbslwr not implemented.\n"));
562 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
563 return FALSE;
564}
565
566
567/*********************************************************************
568 * _mbsnbcat (CRTDLL.206)
569 */
570unsigned char * CDECL CRTDLL__mbsnbcat( unsigned char *dst, const unsigned char *src, size_t n )
571{
572 dprintf(("CRTDLL: _mbsnbcat not implemented.\n"));
573 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
574 return FALSE;
575}
576
577
578/*********************************************************************
579 * _mbsnbcmp (CRTDLL.207)
580 */
581int CDECL CRTDLL__mbsnbcmp( const unsigned char *str1, const unsigned char *str2, size_t n )
582{
583 dprintf(("CRTDLL: _mbsnbcmp not implemented.\n"));
584 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
585 return FALSE;
586}
587
588
589/*********************************************************************
590 * _mbsnbcnt (CRTDLL.208)
591 */
592size_t CDECL CRTDLL__mbsnbcnt( const unsigned char *str, size_t n )
593{
594 dprintf(("CRTDLL: _mbsnbcnt not implemented.\n"));
595 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
596 return FALSE;
597}
598
599
600/*********************************************************************
601 * _mbsnbcpy (CRTDLL.209)
602 */
603unsigned char * CDECL CRTDLL__mbsnbcpy( unsigned char *str1, const unsigned char *str2, size_t n )
604{
605 dprintf(("CRTDLL: _mbsnbcpy not implemented.\n"));
606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
607 return FALSE;
608}
609
610
611/*********************************************************************
612 * _mbsnbicmp (CRTDLL.210)
613 */
614int CDECL CRTDLL__mbsnbicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
615{
616 dprintf(("CRTDLL: _mbsnbicmp not implemented.\n"));
617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
618 return FALSE;
619}
620
621
622/*********************************************************************
623 * _mbsnbset (CRTDLL.211)
624 */
625unsigned char * CDECL CRTDLL__mbsnbset( unsigned char *src, unsigned int val, size_t count )
626{
627 dprintf(("CRTDLL: _mbsnbset not implemented.\n"));
628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
629 return FALSE;
630}
631
632
633/*********************************************************************
634 * _mbsncat (CRTDLL.212)
635 */
636unsigned char * CDECL CRTDLL__mbsncat( unsigned char *dst, const unsigned char *src, size_t n )
637{
638 dprintf(("CRTDLL: _mbsncat not implemented.\n"));
639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
640 return FALSE;
641}
642
643
644/*********************************************************************
645 * _mbsnccnt (CRTDLL.213)
646 */
647size_t CDECL CRTDLL__mbsnccnt( const unsigned char *str, size_t n )
648{
649 dprintf(("CRTDLL: _mbsnccnt not implemented.\n"));
650 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
651 return FALSE;
652}
653
654
655/*********************************************************************
656 * _mbsncmp (CRTDLL.214)
657 */
658int CDECL CRTDLL__mbsncmp( const unsigned char *str1, const unsigned char *str2, size_t n )
659{
660 dprintf(("CRTDLL: _mbsncmp not implemented.\n"));
661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
662 return FALSE;
663}
664
665
666/*********************************************************************
667 * _mbsncpy (CRTDLL.215)
668 */
669unsigned char * CDECL CRTDLL__mbsncpy( unsigned char *str1, const unsigned char *str2, size_t n )
670{
671 dprintf(("CRTDLL: _mbsncpy not implemented.\n"));
672 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
673 return FALSE;
674}
675
676
677/*********************************************************************
678 * _mbsnextc (CRTDLL.216)
679 */
680unsigned int CDECL CRTDLL__mbsnextc( const unsigned char *src )
681{
682 dprintf(("CRTDLL: _mbsnextc not implemented.\n"));
683 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
684 return FALSE;
685}
686
687
688/*********************************************************************
689 * _mbsnicmp (CRTDLL.217)
690 */
691int CDECL CRTDLL__mbsnicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
692{
693 dprintf(("CRTDLL: _mbsnicmp not implemented.\n"));
694 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
695 return FALSE;
696}
697
698
699/*********************************************************************
700 * _mbsninc (CRTDLL.218)
701 */
702unsigned char * CDECL CRTDLL__mbsninc( const unsigned char *str, size_t n )
703{
704 dprintf(("CRTDLL: _mbsninc not implemented.\n"));
705 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
706 return FALSE;
707}
708
709
710/*********************************************************************
711 * _mbsnset (CRTDLL.219)
712 */
713unsigned char * CDECL CRTDLL__mbsnset( unsigned char *src, unsigned int val, size_t count )
714{
715 dprintf(("CRTDLL: _mbsnset not implemented.\n"));
716 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
717 return FALSE;
718}
719
720
721/*********************************************************************
722 * _mbspbrk (CRTDLL.220)
723 */
724unsigned char * CDECL CRTDLL__mbspbrk( const unsigned char *s1, const unsigned char *s2 )
725{
726 dprintf(("CRTDLL: _mbspbrk not implemented.\n"));
727 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
728 return FALSE;
729}
730
731
732/*********************************************************************
733 * _mbsrev (CRTDLL.222)
734 */
735unsigned char * CDECL CRTDLL__mbsrev( unsigned char *s )
736{
737 dprintf(("CRTDLL: _mbsrev not implemented.\n"));
738 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
739 return FALSE;
740}
741
742
743/*********************************************************************
744 * _mbsset (CRTDLL.223)
745 */
746unsigned char * CDECL CRTDLL__mbsset( unsigned char *src, unsigned int c )
747{
748 dprintf(("CRTDLL: _mbsset not implemented.\n"));
749 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
750 return FALSE;
751}
752
753
754/*********************************************************************
755 * _mbsspn (CRTDLL.224)
756 */
757size_t CDECL CRTDLL__mbsspn( const unsigned char *s1, const unsigned char *s2 )
758{
759 dprintf(("CRTDLL: _mbsspn not implemented.\n"));
760 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
761 return FALSE;
762}
763
764
765/*********************************************************************
766 * _mbsspnp (CRTDLL.225)
767 */
768unsigned char * CDECL CRTDLL__mbsspnp( const unsigned char *s1, const unsigned char *s2 )
769{
770 dprintf(("CRTDLL: _mbsspnp not implemented.\n"));
771 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
772 return FALSE;
773}
774
775
776/*********************************************************************
777 * _mbstok (CRTDLL.227)
778 */
779unsigned char * CDECL CRTDLL__mbstok( unsigned char *s, const unsigned char *delim )
780{
781 dprintf(("CRTDLL: _mbstok not implemented.\n"));
782 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
783 return FALSE;
784}
785
786
787/*********************************************************************
788 * _mbstrlen (CRTDLL.228)
789 */
790size_t CDECL CRTDLL__mbstrlen(const char *string)
791{
792 dprintf(("CRTDLL: _mbstrlen not implemented.\n"));
793 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
794 return FALSE;
795}
796
797
798/*********************************************************************
799 * _mbsupr (CRTDLL.229)
800 */
801unsigned char * CDECL CRTDLL__mbsupr( unsigned char *x )
802{
803 dprintf(("CRTDLL: _mbsupr not implemented.\n"));
804 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
805 return FALSE;
806}
807
808
809/*********************************************************************
810 * _nextafter (CRTDLL.235)
811 */
812double CDECL CRTDLL__nextafter( double x, double y )
813{
814 dprintf(("CRTDLL: _nextafter not implemented.\n"));
815 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
816 return FALSE;
817}
818
819
820/*********************************************************************
821 * _pclose (CRTDLL.244)
822 */
823INT CDECL CRTDLL__pclose( FILE *fp )
824{
825 dprintf(("CRTDLL: _pclose not implemented.\n"));
826 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
827 return FALSE;
828}
829
830
831/*********************************************************************
832 * _pipe (CRTDLL.247)
833 */
834INT CDECL CRTDLL__pipe(int _fildes[2], unsigned int size, int mode )
835{
836 dprintf(("CRTDLL: _pipe not implemented.\n"));
837 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
838 return FALSE;
839}
840
841
842/*********************************************************************
843 * _popen (CRTDLL.248)
844 */
845FILE * CDECL CRTDLL__popen(const char *cm, const char *md)
846{
847 dprintf(("CRTDLL: _popen not implemented.\n"));
848 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
849 return FALSE;
850}
851
852
853/*********************************************************************
854 * _scalb (CRTDLL.259)
855 */
856double CDECL CRTDLL__scalb( double x, long e )
857{
858 dprintf(("CRTDLL: _scalb not implemented.\n"));
859 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
860 return FALSE;
861}
862
863
864/*********************************************************************
865 * _snprintf (CRTDLL.266)
866 */
867int CDECL CRTDLL__snprintf( char *buf, size_t bufsize, const char *fmt, ... )
868{
869 dprintf(("CRTDLL: _snprintf(%08xh, %08xh, %08xh) not implemented\n",
870 buf,
871 bufsize,
872 fmt));
873 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
874 return 0;
875}
876
877
878/*********************************************************************
879 * _snwprintf (CRTDLL.267)
880 */
881int CDECL CRTDLL__snwprintf( wchar_t *buf, size_t bufsize, const wchar_t *fmt, ... )
882{
883 dprintf(("CRTDLL: _snwprintf(%08xh, %08xh, %08xh) not implemented\n",
884 buf,
885 bufsize,
886 fmt));
887 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
888 return 0;
889}
890
891
892/*********************************************************************
893 * _tzset (CRTDLL.308)
894 */
895void CDECL CRTDLL__tzset( void )
896{
897 dprintf(("CRTDLL: _tzset not implemented.\n"));
898 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
899}
900
901
902/*********************************************************************
903 * _vsnwprintf (CRTDLL.316)
904 */
905int CDECL CRTDLL__vsnwprintf( wchar_t *s1, size_t n, const wchar_t *s2, va_list arg )
906{
907 dprintf(("CRTDLL: _vsnwprintf not implemented.\n"));
908 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
909 return FALSE;
910}
911
912
913/*********************************************************************
914 * fwprintf (CRTDLL.382)
915 */
916int CDECL CRTDLL_fwprintf( FILE *iop, const wchar_t *fmt, ... )
917{
918 dprintf(("CRTDLL: fwprintf not implemented.\n"));
919 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
920 return FALSE;
921}
922
923
924/*********************************************************************
925 * fwscanf (CRTDLL.384)
926 */
927int CDECL CRTDLL_fwscanf( FILE *strm, const wchar_t *format, ... )
928{
929 dprintf(("CRTDLL: fwscanf not implemented.\n"));
930 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
931 return FALSE;
932}
933
934
935/*********************************************************************
936 * is_wctype (CRTDLL.390)
937 */
938INT CDECL CRTDLL_is_wctype(wint_t wc, wctype_t wctype)
939{
940 dprintf(("CRTDLL: is_wctype not implemented.\n"));
941 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
942 return FALSE;
943}
944
945
946/*********************************************************************
947 * isleadbyte (CRTDLL.396)
948 */
949int CDECL CRTDLL_isleadbyte(int i)
950{
951 dprintf(("CRTDLL: isleadbyte(%08xh) not implemented.\n", i));
952 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
953 return FALSE;
954}
955
956
957/*********************************************************************
958 * vfwprintf (CRTDLL.495)
959 */
960int CDECL CRTDLL_vfwprintf( FILE *F, const wchar_t *s, va_list arg )
961{
962 dprintf(("CRTDLL: vfwprintf not implemented.\n"));
963 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
964 return FALSE;
965}
966
967
968/*********************************************************************
969 * vwprintf (CRTDLL.499)
970 */
971int CDECL CRTDLL_vwprintf( const wchar_t *s, va_list arg)
972{
973 dprintf(("CRTDLL: vwprintf not implemented.\n"));
974 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
975 return FALSE;
976}
977
978
979/*********************************************************************
980 * wprintf (CRTDLL.522)
981 */
982int CDECL CRTDLL_wprintf( const wchar_t *s, ... )
983{
984 dprintf(("CRTDLL: wprintf not implemented.\n"));
985 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
986 return FALSE;
987}
988
989
990/*********************************************************************
991 * wscanf (CRTDLL.523)
992 */
993int CDECL CRTDLL_wscanf( const wchar_t *s, ... )
994{
995 dprintf(("CRTDLL: wscanf not implemented.\n"));
996 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
997 return FALSE;
998}
999
Note: See TracBrowser for help on using the repository browser.