Changeset 2153 for trunk/src


Ignore:
Timestamp:
Dec 20, 1999, 11:12:43 AM (26 years ago)
Author:
sandervl
Message:

JW: Added stubs

Location:
trunk/src/msvcrt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msvcrt/msvcrt.cpp

    r2056 r2153  
    1 /* $Id: msvcrt.cpp,v 1.9 1999-12-11 13:35:52 sandervl Exp $ */
     1/* $Id: msvcrt.cpp,v 1.10 1999-12-20 10:12:42 sandervl Exp $ */
    22
    33/*
     
    1313#include <odinwrap.h>
    1414#include <wchar.h>
     15#include <math.h>
    1516#include <heapstring.h>
    1617#include <crtdll.h>
     
    974975
    975976/*********************************************************************
     977 *           _beginthreadex   (MSVCRT.167)
     978 */
     979unsigned long CDECL MSVCRT__beginthreadex( void *security, unsigned stack_size,
     980                unsigned ( __stdcall *start_address )( void * ), void *arglist,
     981                unsigned initflag, unsigned *thrdaddr )
     982{
     983  dprintf(("MSVCRT: _beginthreadex not implemented.\n"));
     984  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     985  return FALSE;
     986}
     987
     988
     989/*********************************************************************
     990 *           _endthreadex  (MSVCRT.198)
     991 */
     992void CDECL MSVCRT__endthreadex(unsigned retval)
     993{
     994  dprintf(("MSVCRT: _endthreadex not implemented.\n"));
     995  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     996}
     997
     998
     999/*********************************************************************
    9761000 *                  _except_handler3  (MSVCRT.203)
    9771001 */
     
    9861010
    9871011/*********************************************************************
     1012 *                  _filelengthi64    (MSVCRT.222)
     1013 */
     1014__int64 CDECL MSVCRT__filelengthi64(int handle)
     1015{
     1016  dprintf(("MSVCRT: _filelengthi64 not implemented.\n"));
     1017  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1018  return FALSE;
     1019}
     1020
     1021
     1022/*********************************************************************
     1023 *                  _findfirsti64    (MSVCRT.226)
     1024 */
     1025__int64 CDECL MSVCRT__findfirsti64( char *filespec, struct _finddata_t *fileinfo)
     1026{
     1027  dprintf(("MSVCRT: _findfirsti64 not implemented.\n"));
     1028  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1029  return FALSE;
     1030}
     1031
     1032
     1033/*********************************************************************
     1034 *                  _findnexti64    (MSVCRT.228)
     1035 */
     1036__int64 CDECL MSVCRT__findnexti64(long handle, struct _finddata_t *fileinfo)
     1037{
     1038  dprintf(("MSVCRT: _findnexti64 not implemented.\n"));
     1039  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1040  return FALSE;
     1041}
     1042
     1043
     1044/*********************************************************************
     1045 *                  _fstati64    (MSVCRT.240)
     1046 */
     1047__int64 CDECL MSVCRT__fstati64(int handle)
     1048{
     1049  dprintf(("MSVCRT: _fstati64 not implemented.\n"));
     1050  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1051  return FALSE;
     1052}
     1053
     1054
     1055/*********************************************************************
    9881056 *                  _get_sbh_threshold    (MSVCRT.247)
    9891057 */
     
    11511219
    11521220/*********************************************************************
     1221 *                  _lseeki64    (MSVCRT.326)
     1222 */
     1223__int64 CDECL MSVCRT__lseeki64( int handle, __int64 offset, int origin )
     1224{
     1225  dprintf(("MSVCRT: _lseeki64 not implemented.\n"));
     1226  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1227  return FALSE;
     1228}
     1229
     1230
     1231/*********************************************************************
    11531232 *                  _ltow    (MSVCRT.328)
    11541233 */
     
    12391318
    12401319/*********************************************************************
     1320 *                  _setmbcp    (MSVCRT.427)
     1321 */
     1322int CDECL MSVCRT__setmbcp( int codepage )
     1323{
     1324  dprintf(("MSVCRT: _setmbcp not implemented.\n"));
     1325  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1326  return FALSE;
     1327}
     1328
     1329
     1330/*********************************************************************
     1331 *                  _stati64    (MSVCRT.444)
     1332 */
     1333__int64 CDECL MSVCRT__stati64( const char *path, struct _stat *buffer )
     1334{
     1335  dprintf(("MSVCRT: _stati64 not implemented.\n"));
     1336  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1337  return FALSE;
     1338}
     1339
     1340
     1341/*********************************************************************
    12411342 *                  _strncoll    (MSVCRT.453)
    12421343 */
     
    12551356{
    12561357  dprintf(("MSVCRT: _strnicoll not implemented.\n"));
     1358  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1359  return FALSE;
     1360}
     1361
     1362
     1363/*********************************************************************
     1364 *                  _telli64    (MSVCRT.465)
     1365 */
     1366__int64 CDECL MSVCRT__telli64( int handle )
     1367{
     1368  dprintf(("MSVCRT: _telli64 not implemented.\n"));
    12571369  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    12581370  return FALSE;
     
    15071619
    15081620/*********************************************************************
     1621 *                  _wfindfirsti64     (MSVCRT.513)
     1622 */
     1623__int64 CDECL MSVCRT__wfindfirsti64( wchar_t *filespec, struct _wfinddata_t *fileinfo )
     1624{
     1625  dprintf(("MSVCRT: _wfindfirsti64 not implemented.\n"));
     1626  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     1627  return FALSE;
     1628}
     1629
     1630
     1631/*********************************************************************
    15091632 *                  _wfindnext     (MSVCRT.514)
    15101633 */
     
    20192142  return FALSE;
    20202143}
     2144
     2145/**************************************************************************/
     2146/* MSVCRT20 & MSVCRT40 only functions                                     */
     2147/**************************************************************************/
     2148
     2149
     2150/*********************************************************************
     2151 *                  _matherr    (MSVCRT20.677)
     2152 */
     2153int CDECL MSVCRT__matherr( struct exception *except )
     2154{
     2155  dprintf(("MSVCRT20: _matherr\n"));
     2156  return _matherr(except);
     2157}
  • trunk/src/msvcrt/msvcrt.def

    r1896 r2153  
    1 ; $Id: msvcrt.def,v 1.9 1999-11-30 19:44:04 sandervl Exp $
     1; $Id: msvcrt.def,v 1.10 1999-12-20 10:12:43 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    665665    _beep                       = CRTDLL__beep                  @165
    666666    _beginthread                = CRTDLL__beginthread           @166
    667 ;   _beginthreadex                                              @167
     667    _beginthreadex              = _MSVCRT__beginthreadex        @167
    668668    _c_exit                     = CRTDLL__c_exit                @168
    669669    _cabs                       = CRTDLL__cabs                  @169
     
    695695    _ecvt                       = CRTDLL__ecvt                  @196
    696696    _endthread                  = CRTDLL__endthread             @197
    697 ;   _endthreadex                                                @198
     697    _endthreadex                = _MSVCRT__endthreadex          @198
    698698    _environ                    = MSVCRT__environ               @199
    699699
     
    721721    _fileinfo                   = MSVCRT__fileinfo              @220
    722722    _filelength                 = CRTDLL__filelength            @221
    723 ;   _filelengthi64                                              @222
     723    _filelengthi64              = _MSVCRT__filelengthi64        @222
    724724    _fileno                     = CRTDLL__fileno                @223
    725725    _findclose                  = CRTDLL__findclose             @224
    726726    _findfirst                  = CRTDLL__findfirst             @225
    727 ;   _findfirsti64                                               @226
     727    _findfirsti64               = _MSVCRT__findfirsti64         @226
    728728    _findnext                   = CRTDLL__findnext              @227
    729 ;   _findnexti64                                                @228
     729    _findnexti64                = _MSVCRT__findnexti64          @228
    730730    _finite                     = CRTDLL__finite                @229
    731731    _flsbuf                     = CRTDLL__flsbuf                @230
     
    739739    _fsopen                     = CRTDLL__fsopen                @238
    740740    _fstat                      = CRTDLL__fstat                 @239
    741 ;   _fstati64                                                   @240
     741    _fstati64                   = _MSVCRT__fstati64             @240
    742742    _ftime                      = CRTDLL__ftime                 @241
    743743    _ftol                       = NTDLL__ftol                   @242
     
    826826    _lsearch                    = CRTDLL__lsearch               @324
    827827    _lseek                      = CRTDLL__lseek                 @325
    828 ;   _lseeki64                                                   @326
     828    _lseeki64                   = _MSVCRT__lseeki64             @326
    829829    _ltoa                       = NTDLL__ltoa                   @327
    830830    _ltow                       = _MSVCRT__ltow                 @328
     
    929929    _setjmp3                    = CRTDLL__setjmp                @425 ; Not correct
    930930    _setmaxstdio                = _MSVCRT__setmaxstdio          @426
    931 ;   _setmbcp                                                    @427
     931    _setmbcp                    = _MSVCRT__setmbcp              @427
    932932    _setmode                                                    @428
    933933    _setsystime                 = CRTDLL__setsystime            @429
     
    946946    _splitpath                  = NTDLL__splitpath              @442
    947947    _stat                       = CRTDLL__stat                  @443
    948 ;   _stati64                                                    @444
     948    _stati64                    = _MSVCRT__stati64              @444
    949949    _statusfp                   = CRTDLL__statusfp              @445
    950950    _strcmpi                    = NTDLL__strcmpi                @446
     
    967967    _sys_nerr                   = MSVCRT__sys_nerr              @463
    968968    _tell                       = CRTDLL__tell                  @464
    969 ;   _telli64                                                    @465
     969    _telli64                    = _MSVCRT__telli64              @465
    970970    _tempnam                    = CRTDLL__tempnam               @466
    971971    _timezone                   = MSVCRT__timezone              @467
     
    10171017    _wfdopen                    = _MSVCRT__wfdopen              @511
    10181018    _wfindfirst                 = _MSVCRT__wfindfirst           @512
    1019 ;   _wfindfirsti64                                              @513
     1019    _wfindfirsti64              = _MSVCRT__wfindfirsti64        @513
    10201020    _wfindnext                  = _MSVCRT__wfindnext            @514
    10211021;    _wfindnexti64              = _MSVCRT__wfindnexti64         @515
  • trunk/src/msvcrt/msvcrt20.def

    r1896 r2153  
    1 ; $Id: msvcrt20.def,v 1.1 1999-11-30 19:44:05 sandervl Exp $
     1; $Id: msvcrt20.def,v 1.2 1999-12-20 10:12:43 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    599599    _beep                       = CRTDLL__beep                  @528
    600600    _beginthread                = CRTDLL__beginthread           @529
    601 ;   _beginthreadex                                              @530
     601    _beginthreadex              = _MSVCRT__beginthreadex        @530
    602602    _c_exit                     = CRTDLL__c_exit                @531
    603603    _cabs                       = CRTDLL__cabs                  @532
     
    627627    _ecvt                       = CRTDLL__ecvt                  @556
    628628    _endthread                  = CRTDLL__endthread             @557
    629 ;   _endthreadex                                                @558
     629    _endthreadex                = _MSVCRT__endthreadex          @558
    630630    _environ                    = MSVCRT__environ               @559
    631631    _eof                        = CRTDLL__eof                   @560
     
    748748    _ltow                       = _MSVCRT__ltow                 @675
    749749    _makepath                   = CRTDLL__makepath              @676
    750 ;    _matherr                                                   @677
     750    _matherr                    = _MSVCRT__matherr              @677
    751751    _mbbtombc                   = CRTDLL__mbbtombc              @678
    752752    _mbbtype                    = CRTDLL__mbbtype               @679
     
    843843    _setjmp                     = CRTDLL__setjmp                @768
    844844    _setjmp3                    = CRTDLL__setjmp                @769 ; Not correct
    845 ;   _setmbcp                                                    @770
     845    _setmbcp                    = _MSVCRT__setmbcp              @770
    846846    _setmode                                                    @771
    847847    _setsystime                 = CRTDLL__setsystime            @772
  • trunk/src/msvcrt/msvcrt40.def

    r1896 r2153  
    1 ; $Id: msvcrt40.def,v 1.1 1999-11-30 19:44:05 sandervl Exp $
     1; $Id: msvcrt40.def,v 1.2 1999-12-20 10:12:43 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    652652    _beep                       = CRTDLL__beep                  @581
    653653    _beginthread                = CRTDLL__beginthread           @582
    654 ;   _beginthreadex                                              @583
     654    _beginthreadex              = _MSVCRT__beginthreadex        @583
    655655    _c_exit                     = CRTDLL__c_exit                @584
    656656    _cabs                       = CRTDLL__cabs                  @585
     
    683683    _ecvt                       = CRTDLL__ecvt                  @610
    684684    _endthread                  = CRTDLL__endthread             @611
    685 ;   _endthreadex                                                @612
     685    _endthreadex                = _MSVCRT__endthreadex          @612
    686686    _environ                    = MSVCRT__environ               @613
    687687    _eof                        = CRTDLL__eof                   @614
     
    707707    _fileinfo                   = MSVCRT__fileinfo              @634
    708708    _filelength                 = CRTDLL__filelength            @635
    709 ;   _filelengthi64                                              @636
     709    _filelengthi64              = _MSVCRT__filelengthi64        @636
    710710    _fileno                     = CRTDLL__fileno                @637
    711711    _findclose                  = CRTDLL__findclose             @638
    712712    _findfirst                  = CRTDLL__findfirst             @639
    713 ;   _findfirsti64                                               @640
     713    _findfirsti64               = _MSVCRT__findfirsti64         @640
    714714    _findnext                   = CRTDLL__findnext              @641
    715 ;   _findnexti64                                                @642
     715    _findnexti64                = _MSVCRT__findnexti64          @642
    716716    _finite                     = CRTDLL__finite                @643
    717717    _flsbuf                     = CRTDLL__flsbuf                @644
     
    725725    _fsopen                     = CRTDLL__fsopen                @652
    726726    _fstat                      = CRTDLL__fstat                 @653
    727 ;   _fstati64                                                   @654
     727    _fstati64                   = _MSVCRT__fstati64             @654
    728728    _ftime                      = CRTDLL__ftime                 @655
    729729    _ftol                       = NTDLL__ftol                   @656
     
    809809    _lsearch                    = CRTDLL__lsearch               @734
    810810    _lseek                      = CRTDLL__lseek                 @735
    811 ;   _lseeki64                                                   @736
     811    _lseeki64                   = _MSVCRT__lseeki64             @736
    812812    _ltoa                       = NTDLL__ltoa                   @737
    813813    _ltow                       = _MSVCRT__ltow                 @738
     
    912912    _setjmp3                    = CRTDLL__setjmp                @835 ; Not correct
    913913    _setmaxstdio                = _MSVCRT__setmaxstdio          @836
    914 ;   _setmbcp                                                    @837
     914    _setmbcp                    = _MSVCRT__setmbcp              @837
    915915    _setmode                                                    @838
    916916    _setsystime                 = CRTDLL__setsystime            @839
     
    929929    _splitpath                  = NTDLL__splitpath              @852
    930930    _stat                       = CRTDLL__stat                  @853
    931 ;   _stati64                                                    @854
     931    _stati64                    = _MSVCRT__stati64              @854
    932932    _statusfp                   = CRTDLL__statusfp              @855
    933933    _strcmpi                    = NTDLL__strcmpi                @856
     
    950950    _sys_nerr                   = MSVCRT__sys_nerr              @873
    951951    _tell                       = CRTDLL__tell                  @874
    952 ;   _telli64                                                    @875
     952    _telli64                    = _MSVCRT__telli64              @875
    953953    _tempnam                    = CRTDLL__tempnam               @876
    954954    _timezone                   = MSVCRT__timezone              @877
     
    997997    _wfdopen                    = _MSVCRT__wfdopen              @918
    998998    _wfindfirst                 = _MSVCRT__wfindfirst           @919
    999 ;   _wfindfirsti64                                              @920
     999    _wfindfirsti64              = _MSVCRT__wfindfirsti64        @920
    10001000    _wfindnext                  = _MSVCRT__wfindnext            @921
    10011001;    _wfindnexti64              = _MSVCRT__wfindnexti64         @922
Note: See TracChangeset for help on using the changeset viewer.