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

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

JW: Replaced some stubs

File size: 32.3 KB
Line 
1/* $Id: stubs.cpp,v 1.2 2000-02-21 10:34:02 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 * _getsystime (CRTDLL.127)
270 */
271unsigned int CDECL CRTDLL__getsystime(struct tm *tp)
272{
273 dprintf(("CRTDLL: _getsystime not implemented.\n"));
274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
275 return 0;
276}
277
278
279/*********************************************************************
280 * _heapwalk (CRTDLL.133)
281 */
282int CDECL CRTDLL__heapwalk( struct _heapinfo *entry )
283{
284 dprintf(("CRTDLL: _heapwalk not implemented.\n"));
285 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
286 return 0;
287}
288
289
290/*********************************************************************
291 * _isatty (CRTDLL.137)
292 */
293BOOL CDECL CRTDLL__isatty(DWORD x)
294{
295 dprintf(("CRTDLL: _isatty(%ld) not implemented.\n",x));
296 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
297 return TRUE;
298}
299
300
301/*********************************************************************
302 * _ismbbalnum (CRTDLL.139)
303 */
304int CDECL CRTDLL__ismbbalnum( unsigned int c )
305{
306 dprintf(("CRTDLL: _ismbbalnum\n"));
307 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
308 return 0;
309}
310
311
312/*********************************************************************
313 * _ismbbalpha (CRTDLL.140)
314 */
315int CDECL CRTDLL__ismbbalpha( unsigned int c )
316{
317 dprintf(("CRTDLL: _ismbbalpha\n"));
318 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
319 return 0;
320}
321
322
323/*********************************************************************
324 * _ismbbgraph (CRTDLL.141)
325 */
326int CDECL CRTDLL__ismbbgraph( unsigned int c )
327{
328 dprintf(("CRTDLL: _ismbbgraph\n"));
329 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
330 return 0;
331}
332
333
334/*********************************************************************
335 * _ismbbkalnum (CRTDLL.142)
336 */
337int CDECL CRTDLL__ismbbkalnum( unsigned int c )
338{
339 dprintf(("CRTDLL: _ismbbkalnum\n"));
340 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
341 return 0;
342}
343
344
345/*********************************************************************
346 * _ismbbkana (CRTDLL.143)
347 */
348int CDECL CRTDLL__ismbbkana( unsigned int c )
349{
350 dprintf(("CRTDLL: _ismbbkana\n"));
351 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
352 return 0;
353}
354
355
356/*********************************************************************
357 * _ismbbkpunct (CRTDLL.144)
358 */
359int CDECL CRTDLL__ismbbkpunct( unsigned int c )
360{
361 dprintf(("CRTDLL: _ismbbkpunct\n"));
362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
363 return 0;
364}
365
366
367/*********************************************************************
368 * _ismbblead (CRTDLL.145)
369 */
370int CDECL CRTDLL__ismbblead( unsigned int c )
371{
372 dprintf(("CRTDLL: _ismbblead\n"));
373 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
374 return 0;
375}
376
377
378/*********************************************************************
379 * _ismbbprint (CRTDLL.146)
380 */
381int CDECL CRTDLL__ismbbprint( unsigned int c )
382{
383 dprintf(("CRTDLL: _ismbbprint\n"));
384 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
385 return 0;
386}
387
388
389/*********************************************************************
390 * _ismbbpunct (CRTDLL.147)
391 */
392int CDECL CRTDLL__ismbbpunct( unsigned int c )
393{
394 dprintf(("CRTDLL: _ismbbpunct\n"));
395 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
396 return 0;
397}
398
399
400/*********************************************************************
401 * _ismbbtrail (CRTDLL.148)
402 */
403int CDECL CRTDLL__ismbbtrail( unsigned int c )
404{
405 dprintf(("CRTDLL: _ismbbtrail\n"));
406 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
407 return 0;
408}
409
410
411/*********************************************************************
412 * _ismbcalpha (CRTDLL.149)
413 */
414int CDECL CRTDLL__ismbcalpha( unsigned int c )
415{
416 dprintf(("CRTDLL: _ismbcalpha\n"));
417 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
418 return 0;
419}
420
421
422/*********************************************************************
423 * _ismbcdigit (CRTDLL.150)
424 */
425int CDECL CRTDLL__ismbcdigit( unsigned int c )
426{
427 dprintf(("CRTDLL: _ismbcdigit\n"));
428 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
429 return 0;
430}
431
432
433/*********************************************************************
434 * _ismbchira (CRTDLL.151)
435 */
436int CDECL CRTDLL__ismbchira( unsigned int c )
437{
438 dprintf(("CRTDLL: _ismbchira\n"));
439 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
440 return 0;
441}
442
443
444/*********************************************************************
445 * _ismbckata (CRTDLL.152)
446 */
447int CDECL CRTDLL__ismbckata( unsigned int c )
448{
449 dprintf(("CRTDLL: _ismbckata\n"));
450 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
451 return 0;
452}
453
454
455/*********************************************************************
456 * _ismbcl0 (CRTDLL.153)
457 */
458int CDECL CRTDLL__ismbcl0( unsigned int ch )
459{
460 dprintf(("CRTDLL: _ismbcl0 not implemented.\n"));
461 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
462 return 0;
463}
464
465
466/*********************************************************************
467 * _ismbcl1 (CRTDLL.154)
468 */
469int CDECL CRTDLL__ismbcl1( unsigned int ch )
470{
471 dprintf(("CRTDLL: _ismbcl1 not implemented.\n"));
472 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
473 return 0;
474}
475
476
477/*********************************************************************
478 * _ismbcl2 (CRTDLL.155)
479 */
480int CDECL CRTDLL__ismbcl2( unsigned int ch )
481{
482 dprintf(("CRTDLL: _ismbcl2 not implemented.\n"));
483 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
484 return 0;
485}
486
487
488/*********************************************************************
489 * _ismbclegal (CRTDLL.156)
490 */
491int CDECL CRTDLL__ismbclegal( unsigned int c )
492{
493 dprintf(("CRTDLL: _ismbclegal\n"));
494 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
495 return 0;
496}
497
498
499/*********************************************************************
500 * _ismbclower (CRTDLL.157)
501 */
502int CDECL CRTDLL__ismbclower( unsigned int c )
503{
504 dprintf(("CRTDLL: _ismbclower\n"));
505 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
506 return 0;
507}
508
509
510/*********************************************************************
511 * _ismbcprint (CRTDLL.158)
512 */
513int CDECL CRTDLL__ismbcprint( unsigned int c )
514{
515 dprintf(("CRTDLL: _ismbcprint\n"));
516 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
517 return 0;
518}
519
520
521/*********************************************************************
522 * _ismbcspace (CRTDLL.159)
523 */
524int CDECL CRTDLL__ismbcspace( unsigned int c )
525{
526 dprintf(("CRTDLL: _ismbcspace not implemented.\n"));
527 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
528 return 0;
529}
530
531
532/*********************************************************************
533 * _ismbcsymbol (CRTDLL.160)
534 */
535int CDECL CRTDLL__ismbcsymbol( unsigned int c )
536{
537 dprintf(("CRTDLL: _ismbcsymbol not implemented.\n"));
538 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
539 return 0;
540}
541
542
543/*********************************************************************
544 * _ismbcupper (CRTDLL.161)
545 */
546int CDECL CRTDLL__ismbcupper( unsigned int c )
547{
548 dprintf(("CRTDLL: _ismbcupper\n"));
549 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
550 return 0;
551}
552
553
554/*********************************************************************
555 * _ismbslead (CRTDLL.162)
556 */
557int CDECL CRTDLL__ismbslead(const unsigned char *str, const unsigned char *t)
558{
559 dprintf(("CRTDLL: _ismbslead\n"));
560 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
561 return 0;
562}
563
564
565/*********************************************************************
566 * _ismbstrail (CRTDLL.163)
567 */
568int CDECL CRTDLL__ismbstrail(const unsigned char *str, const unsigned char *t)
569{
570 dprintf(("CRTDLL: _ismbstrail\n"));
571 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
572 return 0;
573}
574
575
576/*********************************************************************
577 * _isnan (CRTDLL.164)
578 */
579int CDECL CRTDLL__isnan( double x )
580{
581 dprintf(("CRTDLL: _isnan not implemented.\n"));
582 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
583 return FALSE;
584}
585
586
587/*********************************************************************
588 * _lfind (CRTDLL.170)
589 */
590void * CDECL CRTDLL__lfind(const void *key, const void *base, size_t *nelp,
591 size_t width, int (*compar)(const void *, const void *))
592{
593 dprintf(("CRTDLL: _lfind not implemented.\n"));
594 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
595 return FALSE;
596}
597
598
599/*********************************************************************
600 * _locking (CRTDLL.173)
601 */
602int CDECL CRTDLL__locking( int fd, int mode, long nbytes )
603{
604 dprintf(("CRTDLL: _locking not implemented.\n"));
605 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
606 return FALSE;
607}
608
609
610/*********************************************************************
611 * _logb (CRTDLL.174)
612 */
613double CDECL CRTDLL__logb( double x )
614{
615 dprintf(("CRTDLL: _logb not implemented.\n"));
616 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
617 return FALSE;
618}
619
620
621/*********************************************************************
622 * _lsearch (CRTDLL.177)
623 */
624void * CDECL CRTDLL__lsearch(const void *key, void *base, size_t *nelp, size_t width,
625 int (*compar)(const void *, const void *))
626{
627 dprintf(("CRTDLL: _lsearch not implemented.\n"));
628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
629 return FALSE;
630}
631
632
633/*********************************************************************
634 * _mbbtombc (CRTDLL.182)
635 */
636unsigned int CDECL CRTDLL__mbbtombc( unsigned int c )
637{
638 dprintf(("CRTDLL: _mbbtombc not implemented.\n"));
639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
640 return FALSE;
641}
642
643
644/*********************************************************************
645 * _mbbtype (CRTDLL.183)
646 */
647int CDECL CRTDLL__mbbtype( unsigned char c, int type )
648{
649 dprintf(("CRTDLL: _mbbtype not implemented.\n"));
650 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
651 return FALSE;
652}
653
654
655/*********************************************************************
656 * _mbccpy (CRTDLL.184)
657 */
658void CDECL CRTDLL__mbccpy( unsigned char *dst, const unsigned char *src )
659{
660 dprintf(("CRTDLL: _mbccpy not implemented.\n"));
661 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
662}
663
664
665/*********************************************************************
666 * _mbcjistojms (CRTDLL.185)
667 */
668int CDECL CRTDLL__mbcjistojms( unsigned int c )
669{
670 dprintf(("CRTDLL: _mbcjistojms not implemented.\n"));
671 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
672 return FALSE;
673}
674
675
676/*********************************************************************
677 * _mbcjmstojis (CRTDLL.186)
678 */
679int CDECL CRTDLL__mbcjmstojis( unsigned int c )
680{
681 dprintf(("CRTDLL: _mbcjmstojis not implemented.\n"));
682 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
683 return FALSE;
684}
685
686
687/*********************************************************************
688 * _mbclen (CRTDLL.187)
689 */
690size_t CDECL CRTDLL__mbclen( const unsigned char *s )
691{
692 dprintf(("CRTDLL: _mbclen not implemented.\n"));
693 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
694 return FALSE;
695}
696
697
698/*********************************************************************
699 * _mbctohira (CRTDLL.188)
700 */
701int CDECL CRTDLL__mbctohira( unsigned int c )
702{
703 dprintf(("CRTDLL: _mbctohira not implemented.\n"));
704 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
705 return FALSE;
706}
707
708
709/*********************************************************************
710 * _mbctokata (CRTDLL.189)
711 */
712int CDECL CRTDLL__mbctokata( unsigned int c )
713{
714 dprintf(("CRTDLL: _mbctokata not implemented.\n"));
715 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
716 return FALSE;
717}
718
719
720/*********************************************************************
721 * _mbctolower (CRTDLL.190)
722 */
723unsigned int CDECL CRTDLL__mbctolower( unsigned int c )
724{
725 dprintf(("CRTDLL: _mbctolower not implemented.\n"));
726 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
727 return FALSE;
728}
729
730
731/*********************************************************************
732 * _mbctombb (CRTDLL.191)
733 */
734unsigned int CDECL CRTDLL__mbctombb( unsigned int c )
735{
736 dprintf(("CRTDLL: _mbctombb not implemented.\n"));
737 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
738 return FALSE;
739}
740
741
742/*********************************************************************
743 * _mbctoupper (CRTDLL.192)
744 */
745unsigned int CDECL CRTDLL__mbctoupper( unsigned int c )
746{
747 dprintf(("CRTDLL: _mbctoupper not implemented.\n"));
748 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
749 return FALSE;
750}
751
752
753/*********************************************************************
754 * _mbsbtype (CRTDLL.194)
755 */
756int CDECL CRTDLL__mbsbtype( const unsigned char *str, int n )
757{
758 dprintf(("CRTDLL: _mbsbtype not implemented.\n"));
759 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
760 return FALSE;
761}
762
763
764/*********************************************************************
765 * _mbscspn (CRTDLL.199)
766 */
767size_t CDECL CRTDLL__mbscspn( const unsigned char *s1, const unsigned char *s2 )
768{
769 dprintf(("CRTDLL: _mbscspn not implemented.\n"));
770 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
771 return FALSE;
772}
773
774
775/*********************************************************************
776 * _mbsdec (CRTDLL.200)
777 */
778unsigned char * CDECL CRTDLL__mbsdec( const unsigned char *str, const unsigned char *cur )
779{
780 dprintf(("CRTDLL: _mbsdec not implemented.\n"));
781 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
782 return FALSE;
783}
784
785
786/*********************************************************************
787 * _mbslwr (CRTDLL.205)
788 */
789unsigned char * CDECL CRTDLL__mbslwr( unsigned char *x )
790{
791 dprintf(("CRTDLL: _mbslwr not implemented.\n"));
792 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
793 return FALSE;
794}
795
796
797/*********************************************************************
798 * _mbsnbcat (CRTDLL.206)
799 */
800unsigned char * CDECL CRTDLL__mbsnbcat( unsigned char *dst, const unsigned char *src, size_t n )
801{
802 dprintf(("CRTDLL: _mbsnbcat not implemented.\n"));
803 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
804 return FALSE;
805}
806
807
808/*********************************************************************
809 * _mbsnbcmp (CRTDLL.207)
810 */
811int CDECL CRTDLL__mbsnbcmp( const unsigned char *str1, const unsigned char *str2, size_t n )
812{
813 dprintf(("CRTDLL: _mbsnbcmp not implemented.\n"));
814 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
815 return FALSE;
816}
817
818
819/*********************************************************************
820 * _mbsnbcnt (CRTDLL.208)
821 */
822size_t CDECL CRTDLL__mbsnbcnt( const unsigned char *str, size_t n )
823{
824 dprintf(("CRTDLL: _mbsnbcnt not implemented.\n"));
825 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
826 return FALSE;
827}
828
829
830/*********************************************************************
831 * _mbsnbcpy (CRTDLL.209)
832 */
833unsigned char * CDECL CRTDLL__mbsnbcpy( unsigned char *str1, const unsigned char *str2, size_t n )
834{
835 dprintf(("CRTDLL: _mbsnbcpy not implemented.\n"));
836 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
837 return FALSE;
838}
839
840
841/*********************************************************************
842 * _mbsnbicmp (CRTDLL.210)
843 */
844int CDECL CRTDLL__mbsnbicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
845{
846 dprintf(("CRTDLL: _mbsnbicmp not implemented.\n"));
847 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
848 return FALSE;
849}
850
851
852/*********************************************************************
853 * _mbsnbset (CRTDLL.211)
854 */
855unsigned char * CDECL CRTDLL__mbsnbset( unsigned char *src, unsigned int val, size_t count )
856{
857 dprintf(("CRTDLL: _mbsnbset not implemented.\n"));
858 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
859 return FALSE;
860}
861
862
863/*********************************************************************
864 * _mbsncat (CRTDLL.212)
865 */
866unsigned char * CDECL CRTDLL__mbsncat( unsigned char *dst, const unsigned char *src, size_t n )
867{
868 dprintf(("CRTDLL: _mbsncat not implemented.\n"));
869 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
870 return FALSE;
871}
872
873
874/*********************************************************************
875 * _mbsnccnt (CRTDLL.213)
876 */
877size_t CDECL CRTDLL__mbsnccnt( const unsigned char *str, size_t n )
878{
879 dprintf(("CRTDLL: _mbsnccnt not implemented.\n"));
880 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
881 return FALSE;
882}
883
884
885/*********************************************************************
886 * _mbsncmp (CRTDLL.214)
887 */
888int CDECL CRTDLL__mbsncmp( const unsigned char *str1, const unsigned char *str2, size_t n )
889{
890 dprintf(("CRTDLL: _mbsncmp not implemented.\n"));
891 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
892 return FALSE;
893}
894
895
896/*********************************************************************
897 * _mbsncpy (CRTDLL.215)
898 */
899unsigned char * CDECL CRTDLL__mbsncpy( unsigned char *str1, const unsigned char *str2, size_t n )
900{
901 dprintf(("CRTDLL: _mbsncpy not implemented.\n"));
902 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
903 return FALSE;
904}
905
906
907/*********************************************************************
908 * _mbsnextc (CRTDLL.216)
909 */
910unsigned int CDECL CRTDLL__mbsnextc( const unsigned char *src )
911{
912 dprintf(("CRTDLL: _mbsnextc not implemented.\n"));
913 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
914 return FALSE;
915}
916
917
918/*********************************************************************
919 * _mbsnicmp (CRTDLL.217)
920 */
921int CDECL CRTDLL__mbsnicmp( const unsigned char *s1, const unsigned char *s2, size_t n )
922{
923 dprintf(("CRTDLL: _mbsnicmp not implemented.\n"));
924 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
925 return FALSE;
926}
927
928
929/*********************************************************************
930 * _mbsninc (CRTDLL.218)
931 */
932unsigned char * CDECL CRTDLL__mbsninc( const unsigned char *str, size_t n )
933{
934 dprintf(("CRTDLL: _mbsninc not implemented.\n"));
935 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
936 return FALSE;
937}
938
939
940/*********************************************************************
941 * _mbsnset (CRTDLL.219)
942 */
943unsigned char * CDECL CRTDLL__mbsnset( unsigned char *src, unsigned int val, size_t count )
944{
945 dprintf(("CRTDLL: _mbsnset not implemented.\n"));
946 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
947 return FALSE;
948}
949
950
951/*********************************************************************
952 * _mbspbrk (CRTDLL.220)
953 */
954unsigned char * CDECL CRTDLL__mbspbrk( const unsigned char *s1, const unsigned char *s2 )
955{
956 dprintf(("CRTDLL: _mbspbrk not implemented.\n"));
957 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
958 return FALSE;
959}
960
961
962/*********************************************************************
963 * _mbsrev (CRTDLL.222)
964 */
965unsigned char * CDECL CRTDLL__mbsrev( unsigned char *s )
966{
967 dprintf(("CRTDLL: _mbsrev not implemented.\n"));
968 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
969 return FALSE;
970}
971
972
973/*********************************************************************
974 * _mbsset (CRTDLL.223)
975 */
976unsigned char * CDECL CRTDLL__mbsset( unsigned char *src, unsigned int c )
977{
978 dprintf(("CRTDLL: _mbsset not implemented.\n"));
979 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
980 return FALSE;
981}
982
983
984/*********************************************************************
985 * _mbsspn (CRTDLL.224)
986 */
987size_t CDECL CRTDLL__mbsspn( const unsigned char *s1, const unsigned char *s2 )
988{
989 dprintf(("CRTDLL: _mbsspn not implemented.\n"));
990 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
991 return FALSE;
992}
993
994
995/*********************************************************************
996 * _mbsspnp (CRTDLL.225)
997 */
998unsigned char * CDECL CRTDLL__mbsspnp( const unsigned char *s1, const unsigned char *s2 )
999{
1000 dprintf(("CRTDLL: _mbsspnp not implemented.\n"));
1001 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1002 return FALSE;
1003}
1004
1005
1006/*********************************************************************
1007 * _mbstok (CRTDLL.227)
1008 */
1009unsigned char * CDECL CRTDLL__mbstok( unsigned char *s, const unsigned char *delim )
1010{
1011 dprintf(("CRTDLL: _mbstok not implemented.\n"));
1012 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1013 return FALSE;
1014}
1015
1016
1017/*********************************************************************
1018 * _mbstrlen (CRTDLL.228)
1019 */
1020size_t CDECL CRTDLL__mbstrlen(const char *string)
1021{
1022 dprintf(("CRTDLL: _mbstrlen not implemented.\n"));
1023 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1024 return FALSE;
1025}
1026
1027
1028/*********************************************************************
1029 * _mbsupr (CRTDLL.229)
1030 */
1031unsigned char * CDECL CRTDLL__mbsupr( unsigned char *x )
1032{
1033 dprintf(("CRTDLL: _mbsupr not implemented.\n"));
1034 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1035 return FALSE;
1036}
1037
1038
1039/*********************************************************************
1040 * _nextafter (CRTDLL.235)
1041 */
1042double CDECL CRTDLL__nextafter( double x, double y )
1043{
1044 dprintf(("CRTDLL: _nextafter not implemented.\n"));
1045 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1046 return FALSE;
1047}
1048
1049
1050/*********************************************************************
1051 * _pclose (CRTDLL.244)
1052 */
1053INT CDECL CRTDLL__pclose( FILE *fp )
1054{
1055 dprintf(("CRTDLL: _pclose not implemented.\n"));
1056 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1057 return FALSE;
1058}
1059
1060
1061/*********************************************************************
1062 * _pipe (CRTDLL.247)
1063 */
1064INT CDECL CRTDLL__pipe(int _fildes[2], unsigned int size, int mode )
1065{
1066 dprintf(("CRTDLL: _pipe not implemented.\n"));
1067 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1068 return FALSE;
1069}
1070
1071
1072/*********************************************************************
1073 * _popen (CRTDLL.248)
1074 */
1075FILE * CDECL CRTDLL__popen(const char *cm, const char *md)
1076{
1077 dprintf(("CRTDLL: _popen not implemented.\n"));
1078 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1079 return FALSE;
1080}
1081
1082
1083/*********************************************************************
1084 * _scalb (CRTDLL.259)
1085 */
1086double CDECL CRTDLL__scalb( double x, long e )
1087{
1088 dprintf(("CRTDLL: _scalb not implemented.\n"));
1089 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1090 return FALSE;
1091}
1092
1093
1094/*********************************************************************
1095 * _setsystime (CRTDLL.264)
1096 */
1097unsigned int CDECL CRTDLL__setsystime(struct tm *tp, unsigned int ms)
1098{
1099 dprintf(("CRTDLL: _setsystime not implemented.\n"));
1100 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1101 return 0;
1102}
1103
1104
1105/*********************************************************************
1106 * _snprintf (CRTDLL.266)
1107 */
1108int CDECL CRTDLL__snprintf( char *buf, size_t bufsize, const char *fmt, ... )
1109{
1110 dprintf(("CRTDLL: _snprintf(%08xh, %08xh, %08xh) not implemented\n",
1111 buf,
1112 bufsize,
1113 fmt));
1114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1115 return 0;
1116}
1117
1118
1119/*********************************************************************
1120 * _snwprintf (CRTDLL.267)
1121 */
1122int CDECL CRTDLL__snwprintf( wchar_t *buf, size_t bufsize, const wchar_t *fmt, ... )
1123{
1124 dprintf(("CRTDLL: _snwprintf(%08xh, %08xh, %08xh) not implemented\n",
1125 buf,
1126 bufsize,
1127 fmt));
1128 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1129 return 0;
1130}
1131
1132
1133/*********************************************************************
1134 * _tzset (CRTDLL.308)
1135 */
1136void CDECL CRTDLL__tzset( void )
1137{
1138 dprintf(("CRTDLL: _tzset not implemented.\n"));
1139 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1140}
1141
1142
1143/*********************************************************************
1144 * _vsnwprintf (CRTDLL.316)
1145 */
1146int CDECL CRTDLL__vsnwprintf( wchar_t *s1, size_t n, const wchar_t *s2, va_list arg )
1147{
1148 dprintf(("CRTDLL: _vsnwprintf not implemented.\n"));
1149 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1150 return FALSE;
1151}
1152
1153
1154/*********************************************************************
1155 * _wtoi (CRTDLL.330)
1156 */
1157int CDECL CRTDLL__wtoi( const wchar_t *s )
1158{
1159 dprintf(("CRTDLL: _wtoi(%08xh) not implemented.\n"));
1160 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1161 return 0;
1162}
1163
1164
1165/*********************************************************************
1166 * _wtol (CRTDLL.331)
1167 */
1168long int CDECL CRTDLL__wtol( const wchar_t *s )
1169{
1170 dprintf(("CRTDLL: _wtol(%08xh) not implemented.\n"));
1171 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1172 return 0;
1173}
1174
1175
1176/*********************************************************************
1177 * fwprintf (CRTDLL.382)
1178 */
1179int CDECL CRTDLL_fwprintf( FILE *iop, const wchar_t *fmt, ... )
1180{
1181 dprintf(("CRTDLL: fwprintf not implemented.\n"));
1182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1183 return FALSE;
1184}
1185
1186
1187/*********************************************************************
1188 * fwscanf (CRTDLL.384)
1189 */
1190int CDECL CRTDLL_fwscanf( FILE *strm, const wchar_t *format, ... )
1191{
1192 dprintf(("CRTDLL: fwscanf not implemented.\n"));
1193 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1194 return FALSE;
1195}
1196
1197
1198/*********************************************************************
1199 * is_wctype (CRTDLL.390)
1200 */
1201INT CDECL CRTDLL_is_wctype(wint_t wc, wctype_t wctype)
1202{
1203 dprintf(("CRTDLL: is_wctype not implemented.\n"));
1204 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1205 return FALSE;
1206}
1207
1208
1209/*********************************************************************
1210 * isleadbyte (CRTDLL.396)
1211 */
1212int CDECL CRTDLL_isleadbyte(int i)
1213{
1214 dprintf(("CRTDLL: isleadbyte(%08xh) not implemented.\n", i));
1215 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1216 return FALSE;
1217}
1218
1219
1220/*********************************************************************
1221 * vfwprintf (CRTDLL.495)
1222 */
1223int CDECL CRTDLL_vfwprintf( FILE *F, const wchar_t *s, va_list arg )
1224{
1225 dprintf(("CRTDLL: vfwprintf not implemented.\n"));
1226 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1227 return FALSE;
1228}
1229
1230
1231/*********************************************************************
1232 * vwprintf (CRTDLL.499)
1233 */
1234int CDECL CRTDLL_vwprintf( const wchar_t *s, va_list arg)
1235{
1236 dprintf(("CRTDLL: vwprintf not implemented.\n"));
1237 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1238 return FALSE;
1239}
1240
1241
1242/*********************************************************************
1243 * wprintf (CRTDLL.522)
1244 */
1245int CDECL CRTDLL_wprintf( const wchar_t *s, ... )
1246{
1247 dprintf(("CRTDLL: wprintf not implemented.\n"));
1248 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1249 return FALSE;
1250}
1251
1252
1253/*********************************************************************
1254 * wscanf (CRTDLL.523)
1255 */
1256int CDECL CRTDLL_wscanf( const wchar_t *s, ... )
1257{
1258 dprintf(("CRTDLL: wscanf not implemented.\n"));
1259 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
1260 return FALSE;
1261}
1262
Note: See TracBrowser for help on using the repository browser.