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

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

JW: Update

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