Changeset 21395 for trunk/src


Ignore:
Timestamp:
Jul 27, 2010, 10:08:45 PM (15 years ago)
Author:
dmik
Message:

Attempted to resurrect building of msvcrt.dll.

Location:
trunk/src/msvcrt
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msvcrt/data.c

    r10005 r21395  
    3030#include "msvcrt.h"
    3131
     32#include "msvcrt/stddef.h"
    3233#include "msvcrt/stdlib.h"
    3334#include "msvcrt/string.h"
     
    212213char*** __p__environ(void)
    213214{
    214   dprintf(("MSVCRT: Query of p__environ")); 
     215  dprintf(("MSVCRT: Query of p__environ"));
    215216  if (!MSVCRT__environ)
    216217    MSVCRT__environ = msvcrt_SnapshotOfEnvironmentA(NULL);
     
    223224MSVCRT_wchar_t*** __p__wenviron(void)
    224225{
    225   dprintf(("MSVCRT: Query of p__wenviron")); 
     226  dprintf(("MSVCRT: Query of p__wenviron"));
    226227  if (!MSVCRT__wenviron)
    227228    MSVCRT__wenviron = msvcrt_SnapshotOfEnvironmentW(NULL);
     
    248249{
    249250  const size_t len = strlen(str) + 1 ;
    250   dprintf(("MSVCRT: wstrdupa %s",str)); 
     251  dprintf(("MSVCRT: wstrdupa %s",str));
    251252  MSVCRT_wchar_t *wstr = MSVCRT_malloc(len* sizeof (MSVCRT_wchar_t));
    252253  if (!wstr)
     
    273274
    274275    char argvbuf[255];
    275    
     276
    276277    strcpy(argvbuf,incargv[0]);
    277278
    278     if (argvbuf[0] == '\"')   
     279    if (argvbuf[0] == '\"')
    279280     token2 = strtok(argvbuf, "\"");
    280281    else
     
    304305    }
    305306    wargv[argc] = NULL;
    306    
    307     dprintf(("Num of args is %d",argc));   
     307
     308    dprintf(("Num of args is %d",argc));
    308309
    309310    __wine_main_argc  = argc;
  • trunk/src/msvcrt/environ.c

    r10005 r21395  
    2929#include "msvcrt.h"
    3030
     31#include "msvcrt/stddef.h"
    3132#include "msvcrt/stdlib.h"
    3233
     
    7576  unsigned int length=strlenW(name);
    7677
    77   dprintf(("MSVCRT: _wgetenv %s",debugstr_w(name))); 
     78  dprintf(("MSVCRT: _wgetenv %s",debugstr_w(name)));
    7879
    7980  for (pp = environ; (*pp); pp = pp + strlenW(pp) + 1)
  • trunk/src/msvcrt/file.c

    r10005 r21395  
    2323#ifdef __WIN32OS2__
    2424#include <emxheader.h>
    25 /* thanks to stupid unistd.h in win dir! */
    26 #include <emxruntime\unistd.h>
    2725#include <winbase.h>
    2826#else
     
    128126  {
    129127    WARN(":fd (%d) - no handle!\n",fd);
    130     *MSVCRT_doserrno() = 0; 
     128    *MSVCRT_doserrno() = 0;
    131129    *MSVCRT__errno() = MSVCRT_EBADF;
    132130   return INVALID_HANDLE_VALUE;
     
    973971  else
    974972    ioflag |= _O_TEXT; /* default to TEXT*/
    975  
     973
    976974  switch( shflags )
    977975  {
     
    11811179      char cc, *s=(char*)buf,* buf_start=(char*)buf;
    11821180      unsigned int i;
    1183      
     1181
    11841182      for (i = 0 , num_read = 1; i < count && (num_read == 1);)
    11851183        {
     
    12011199          */
    12021200        }
    1203  
     1201
    12041202      if (count > 4)
    12051203        dprintf(("%s\n",debugstr_an(buf_start, s-buf_start)));
     
    15071505            }
    15081506          else
    1509             { 
     1507            {
    15101508              p = s;
    15111509              num_to_write = 1;
     
    21152113      return MSVCRT_fwrite(s,sizeof(*s),len,file) == len ? 0 : MSVCRT_EOF;
    21162114    for (i=0; i<len; i++)
    2117       if (MSVCRT_fputc(s[i], file) == MSVCRT_EOF) 
     2115      if (MSVCRT_fputc(s[i], file) == MSVCRT_EOF)
    21182116        return MSVCRT_EOF;
    21192117    return 0;
     
    21332131          return MSVCRT_WEOF;
    21342132        if (MSVCRT_fputwc(s[i], file) == MSVCRT_WEOF)
    2135           return MSVCRT_WEOF; 
     2133          return MSVCRT_WEOF;
    21362134      }
    21372135    return 0;
     
    25362534
    25372535  TRACE("MSVCRT: _wstati64 file (%s) %x buf(%p)\n",debugstr_w(path),sizeof(*buf),buf);
    2538  
     2536
    25392537  len = WideCharToMultiByte( CP_ACP, 0, path, -1, NULL, 0, 0, NULL);
    25402538  asciipath = (LPSTR)MSVCRT_malloc(len);
    25412539  WideCharToMultiByte(CP_ACP, 0, path, -1, asciipath, len, 0, NULL );
    25422540
    2543   ret = _stati64(asciipath,buf); 
     2541  ret = _stati64(asciipath,buf);
    25442542
    25452543  MSVCRT_free(asciipath);
    25462544
    2547   return 0; 
    2548 }
     2545  return 0;
     2546}
  • trunk/src/msvcrt/initterm.c

    r10005 r21395  
    4242/* calling this function.                                                   */
    4343/****************************************************************************/
    44 extern void InitOverrides(void);
     44extern void InitOverrides(void) __asm__("InitOverrides");
    4545
    4646unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long
  • trunk/src/msvcrt/mbcs.c

    r10005 r21395  
    3434#include "wine/unicode.h"
    3535#include "wine/debug.h"
    36 
    37 #include <string.h>
    38 #include <ctype.h>
    3936
    4037WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
  • trunk/src/msvcrt/msvcrt.def

    r10005 r21395  
    4343
    4444EXPORTS
    45    $I10_OUTPUT()  = MSVCRT_I10_OUTPUT   @1
    46    ??0__non_rtti_object@@QAE@ABV0@@Z = MSVCRT___non_rtti_object_copy_ctor       @2
    47    ??0bad_cast@@QAE@ABQBD@Z = MSVCRT___non_rtti_object_ctor     @3
    48    ??0bad_cast@@QAE@ABV0@@Z = MSVCRT_bad_cast_copy_ctor @4
    49    ??0bad_typeid@@QAE@PBD@Z = MSVCRT_bad_typeid_ctor    @5
    50    ??0bad_typeid@@QAE@ABV0@@Z = MSVCRT_bad_typeid_copy_ctor     @6
    51    ??0exception@@QAE@ABQBD@Z = MSVCRT_exception_ctor    @7
    52    ??0exception@@QAE@ABV0@@Z = MSVCRT_exception_copy_ctor       @8
    53    ??0exception@@QAE@XZ = MSVCRT_exception_default_ctor         @9
    54    ??1__non_rtti_object@@UAE@XZ =  MSVCRT___non_rtti_object_dtor        @10
    55    ??1bad_cast@@UAE@XZ = MSVCRT_bad_cast_dtor   @11
    56    ??1bad_typeid@@UAE@XZ = MSVCRT_bad_typeid_dtor       @12
    57    ??1exception@@UAE@XZ = MSVCRT_exception_dtor @13
    58    ??1type_info@@UAE@XZ = MSVCRT_type_info_dtor @14
    59    ??2@YAPAXI@Z = MSVCRT_operator_new   @15
    60    ??_U@YAPAXI@Z = MSVCRT_operator_new  @16
    61    ??3@YAXPAX@Z = MSVCRT_operator_delete        @17
    62    ??_V@YAXPAX@Z = MSVCRT_operator_delete       @18
    63    ??4__non_rtti_object@@QAEAAV0@ABV0@@Z = MSVCRT___non_rtti_object_opequals    @19
    64    ??4bad_cast@@QAEAAV0@ABV0@@Z = MSVCRT_bad_cast_opequals      @20
    65    ??4bad_typeid@@QAEAAV0@ABV0@@Z = MSVCRT_bad_typeid_opequals  @21
    66    ??4exception@@QAEAAV0@ABV0@@Z = MSVCRT_exception_opequals    @22
     45   $I10_OUTPUT()  = _MSVCRT_I10_OUTPUT  @1
     46   ??0__non_rtti_object@@QAE@ABV0@@Z = _MSVCRT___non_rtti_object_copy_ctor      @2
     47   ??0bad_cast@@QAE@ABQBD@Z = _MSVCRT___non_rtti_object_ctor    @3
     48   ??0bad_cast@@QAE@ABV0@@Z = _MSVCRT_bad_cast_copy_ctor        @4
     49   ??0bad_typeid@@QAE@PBD@Z = _MSVCRT_bad_typeid_ctor   @5
     50   ??0bad_typeid@@QAE@ABV0@@Z = _MSVCRT_bad_typeid_copy_ctor    @6
     51   ??0exception@@QAE@ABQBD@Z = _MSVCRT_exception_ctor   @7
     52   ??0exception@@QAE@ABV0@@Z = _MSVCRT_exception_copy_ctor      @8
     53   ??0exception@@QAE@XZ = _MSVCRT_exception_default_ctor        @9
     54   ??1__non_rtti_object@@UAE@XZ = _MSVCRT___non_rtti_object_dtor        @10
     55   ??1bad_cast@@UAE@XZ = _MSVCRT_bad_cast_dtor  @11
     56   ??1bad_typeid@@UAE@XZ = _MSVCRT_bad_typeid_dtor      @12
     57   ??1exception@@UAE@XZ = _MSVCRT_exception_dtor        @13
     58   ??1type_info@@UAE@XZ = _MSVCRT_type_info_dtor        @14
     59   ??2@YAPAXI@Z = _MSVCRT_operator_new  @15
     60   ??_U@YAPAXI@Z = _MSVCRT_operator_new @16
     61   ??3@YAXPAX@Z = _MSVCRT_operator_delete       @17
     62   ??_V@YAXPAX@Z = _MSVCRT_operator_delete      @18
     63   ??4__non_rtti_object@@QAEAAV0@ABV0@@Z = _MSVCRT___non_rtti_object_opequals   @19
     64   ??4bad_cast@@QAEAAV0@ABV0@@Z = _MSVCRT_bad_cast_opequals     @20
     65   ??4bad_typeid@@QAEAAV0@ABV0@@Z = _MSVCRT_bad_typeid_opequals @21
     66   ??4exception@@QAEAAV0@ABV0@@Z = _MSVCRT_exception_opequals   @22
    6767   ??8type_info@@QBEHABV0@@Z = _MSVCRT_type_info_opequals_equals@8      @23
    6868   ??9type_info@@QBEHABV0@@Z = _MSVCRT_type_info_opnot_equals@8 @24
    6969
    70    ??_E__non_rtti_object@@UAEPAXI@Z = MSVCRT___non_rtti_object__unknown_E       @26
    71    ??_Eexception@@UAEPAXI@Z = MSVCRT_exception__unknown_E       @27
    72 
    73    ??_G__non_rtti_object@@UAEPAXI@Z = MSVCRT___non_rtti_object__unknown_G       @29
    74    ??_Gexception@@UAEPAXI@Z = MSVCRT_exception__unknown_G       @30
    75    ?_query_new_handler@@YAP6AHI@ZXZ = MSVCRT__query_new_handler @31
    76    ?_query_new_mode@@YAHXZ = MSVCRT__query_new_mode     @32
    77    ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z = MSVCRT__set_new_handler      @33
    78    ?_set_new_mode@@YAHH@Z = MSVCRT__set_new_mode        @34
    79    ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z = MSVCRT__set_se_translator @35
     70   ??_E__non_rtti_object@@UAEPAXI@Z = _MSVCRT___non_rtti_object__unknown_E      @26
     71   ??_Eexception@@UAEPAXI@Z = _MSVCRT_exception__unknown_E      @27
     72
     73   ??_G__non_rtti_object@@UAEPAXI@Z = _MSVCRT___non_rtti_object__unknown_G      @29
     74   ??_Gexception@@UAEPAXI@Z = _MSVCRT_exception__unknown_G      @30
     75   ?_query_new_handler@@YAP6AHI@ZXZ = _MSVCRT__query_new_handler        @31
     76   ?_query_new_mode@@YAHXZ = _MSVCRT__query_new_mode    @32
     77   ?_set_new_handler@@YAP6AHI@ZP6AHI@Z@Z = _MSVCRT__set_new_handler     @33
     78   ?_set_new_mode@@YAHH@Z = _MSVCRT__set_new_mode       @34
     79   ?_set_se_translator@@YAP6AXIPAU_EXCEPTION_POINTERS@@@ZP6AXI0@Z@Z = _MSVCRT__set_se_translator        @35
    8080   ?name@type_info@@QBEPBDXZ = _MSVCRT_type_info_name@4 @36
    8181   ?raw_name@type_info@@QBEPBDXZ = _MSVCRT_type_info_raw_name@4 @37
    82    ?set_new_handler@@YAP6AXXZP6AXXZ@Z = MSVCRT__set_new_handler @38
    83    ?set_terminate@@YAP6AXXZP6AXXZ@Z = MSVCRT_set_terminate      @39
    84    ?set_unexpected@@YAP6AXXZP6AXXZ@Z = MSVCRT_set_unexpected    @40
    85    ?terminate@@YAXXZ = MSVCRT_terminate @41
    86    ?unexpected@@YAXXZ = MSVCRT_unexpected       @42
    87    ?what@exception@@UBEPBDXZ = MSVCRT_what_exception    @43
    88 
    89     _CIacos     @45
    90     _CIasin     @46
    91     _CIatan     @47
    92     _CIatan2    @48
    93     _CIcos      @49
    94     _CIcosh     @50
    95     _CIexp      @51
    96     _CIfmod     @52
    97     _CIlog      @53
    98     _CIlog10    @54
    99     _CIpow      @55
    100     _CIsin      @56
    101     _CIsinh     @57
    102     _CIsqrt     @58
    103     _CItan      @59
    104     _CItanh     @60
    105 
    106    _EH_prolog   @62
    107    _CxxThrowException   @63
    108 
    109    _Getdays     @65
    110    _Getmonths   @66
    111    _Getnames    @67
    112    _HUGE = MSVCRT__HUGE @68
    113    _Strftime    @69
    114    _XcptFilter  @70
     82   ?set_new_handler@@YAP6AXXZP6AXXZ@Z = _MSVCRT__set_new_handler        @38
     83   ?set_terminate@@YAP6AXXZP6AXXZ@Z = _MSVCRT_set_terminate     @39
     84   ?set_unexpected@@YAP6AXXZP6AXXZ@Z = _MSVCRT_set_unexpected   @40
     85   ?terminate@@YAXXZ = _MSVCRT_terminate        @41
     86   ?unexpected@@YAXXZ = _MSVCRT_unexpected      @42
     87   ?what@exception@@UBEPBDXZ = _MSVCRT_what_exception   @43
     88
     89    _CIacos = __CIacos @45
     90    _CIasin = __CIasin @46
     91    _CIatan = __CIatan @47
     92    _CIatan2 = __CIatan2 @48
     93    _CIcos = __CIcos @49
     94    _CIcosh = __CIcosh @50
     95    _CIexp = __CIexp @51
     96    _CIfmod = __CIfmod @52
     97    _CIlog = __CIlog @53
     98    _CIlog10 = __CIlog10 @54
     99    _CIpow = __CIpow @55
     100    _CIsin = __CIsin @56
     101    _CIsinh = __CIsinh @57
     102    _CIsqrt = __CIsqrt @58
     103    _CItan = __CItan @59
     104    _CItanh = __CItanh @60
     105
     106   _EH_prolog = __EH_prolog @62
     107   _CxxThrowException = __CxxThrowException @63
     108
     109   _Getdays = __Getdays @65
     110   _Getmonths = __Getmonths @66
     111   _Getnames = __Getnames @67
     112   _HUGE = _MSVCRT__HUGE        @68
     113   _Strftime = __Strftime @69
     114   _XcptFilter = __XcptFilter @70
    115115
    116116; Relay call
    117    __CxxFrameHandler    @73
    118    __RTCastToVoid  = MSVCRT___RTCastToVoid      @74
    119    __RTDynamicCast = MSVCRT___RTDynamicCast     @75
    120    __RTtypeid = MSVCRT___RTtypeid       @76
    121 
    122    __argc = MSVCRT___argc       @78
    123    __argv = MSVCRT___argv       @79
    124    __dllonexit = __dllonexit    @80
    125   __doserrno = MSVCRT_doserrno  @81
    126   __getmainargs = __getmainargs @82
    127   __initenv = MSVCRT___initenv  @83
    128   __isascii = MSVCRT___isascii  @84
    129   __iscsym = MSVCRT___iscsym    @85
    130   __iscsymf = MSVCRT___iscsymf  @86
    131   __lconv_init = __lconv_init   @87
    132   __mb_cur_max = MSVCRT___mb_cur_max    @88
    133   __crtLCMapStringA @89
    134 
    135   __p___argc = __p___argc       @90
    136   __p___argv = __p___argv       @91
    137   __p___initenv = __p___initenv @92
    138   __p___mb_cur_max = __p___mb_cur_max   @93
    139   __p___wargv = __p___wargv     @94
    140   __p___winitenv = __p___winitenv       @95
    141   __p__acmdln =  __p__acmdln    @96
    142   __p__commode =  __p__commode  @97
    143   __p__environ = __p__environ   @98
    144   __p__fmode = __p__fmode       @99
    145   __p__iob = __p__iob   @100
    146   __p__mbctype = __p__mbctype   @101
    147   __p__osver =  __p__osver      @102
    148   __p__pctype = __p__pctype     @103
    149   __p__timezone = __p__timezone @104
    150   __p__wcmdln = __p__wcmdln     @105
    151   __p__wenviron = __p__wenviron @106
    152   __p__winmajor = __p__winmajor @107
    153   __p__winminor = __p__winminor @108
    154   __p__winver = __p__winver     @109
    155   __p__daylight = MSVCRT___p__daylight @110
    156   __p__pgmptr @114
    157 
    158   __set_app_type = MSVCRT___set_app_type        @111
    159   __setlc_active = MSVCRT___setlc_active        @112
    160   __setusermatherr = MSVCRT___setusermatherr    @113
    161 
    162   __threadhandle = MSVCRT_GetCurrentThread      @115
    163   __threadid = MSVCRT_GetCurrentThreadId        @116
    164   __toascii = MSVCRT___toascii  @117
    165   __unDName = MSVCRT___unDName  @118
    166   __unDNameEx = MSVCRT___unDNameEx      @119
    167   __unguarded_readlc_active = MSVCRT___unguarded_readlc_active  @120
    168   __wargv = MSVCRT___wargv      @121
    169   __wgetmainargs                @122
    170   __winitenv = MSVCRT___winitenv        @123
    171   _abnormal_termination = _abnormal_termination @124
    172   _access = MSVCRT__access      @125
    173   _acmdln = MSVCRT__acmdln      @126
    174   _adj_fdiv_m16i        @127
    175   _adj_fdiv_m32 @128
    176   _adj_fdiv_m32i        @129
    177   _adj_fdiv_m64 @130
    178   _adj_fdiv_r   @131
    179   _adj_fdivr_m16i       @132
    180   _adj_fdivr_m32        @133
    181   _adj_fdivr_m32i       @134
    182   _adj_fdivr_m64        @135
    183   _adj_fpatan   @136
    184   _adj_fprem    @137
    185   _adj_fprem1   @138
    186   _adj_fptan    @139
    187   _adjust_fdiv  @140
    188   _amsg_exit = MSVCRT__amsg_exit        @141
    189   _assert = MSVCRT__assert      @142
    190   _beep @143
     117   __CxxFrameHandler = ___CxxFrameHandler @73
     118   __RTCastToVoid  = _MSVCRT___RTCastToVoid     @74
     119   __RTDynamicCast = _MSVCRT___RTDynamicCast    @75
     120   __RTtypeid = _MSVCRT___RTtypeid      @76
     121
     122   __argc = _MSVCRT___argc      @78
     123   __argv = _MSVCRT___argv      @79
     124   __dllonexit = ___dllonexit   @80
     125  __doserrno = _MSVCRT_doserrno @81
     126  __getmainargs = ___getmainargs        @82
     127  __initenv = _MSVCRT___initenv @83
     128  __isascii = _MSVCRT___isascii @84
     129  __iscsym = _MSVCRT___iscsym   @85
     130  __iscsymf = _MSVCRT___iscsymf @86
     131  __lconv_init = ___lconv_init  @87
     132  __mb_cur_max = _MSVCRT___mb_cur_max   @88
     133  __crtLCMapStringA = ___crtLCMapStringA @89
     134
     135  __p___argc = ___p___argc      @90
     136  __p___argv = ___p___argv      @91
     137  __p___initenv = ___p___initenv        @92
     138  __p___mb_cur_max = ___p___mb_cur_max  @93
     139  __p___wargv = ___p___wargv    @94
     140  __p___winitenv = ___p___winitenv      @95
     141  __p__acmdln = ___p__acmdln    @96
     142  __p__commode = ___p__commode  @97
     143  __p__environ = ___p__environ  @98
     144  __p__fmode = ___p__fmode      @99
     145  __p__iob = ___p__iob  @100
     146  __p__mbctype = ___p__mbctype  @101
     147  __p__osver = ___p__osver      @102
     148  __p__pctype = ___p__pctype    @103
     149  __p__timezone = ___p__timezone        @104
     150  __p__wcmdln = ___p__wcmdln    @105
     151  __p__wenviron = ___p__wenviron        @106
     152  __p__winmajor = ___p__winmajor        @107
     153  __p__winminor = ___p__winminor        @108
     154  __p__winver = ___p__winver    @109
     155  __p__daylight = _MSVCRT___p__daylight @110
     156  __p__pgmptr = ___p__pgmptr @114
     157
     158  __set_app_type = _MSVCRT___set_app_type       @111
     159  __setlc_active = _MSVCRT___setlc_active       @112
     160  __setusermatherr = _MSVCRT___setusermatherr   @113
     161
     162  __threadhandle = _MSVCRT_GetCurrentThread     @115
     163  __threadid = _MSVCRT_GetCurrentThreadId       @116
     164  __toascii = _MSVCRT___toascii @117
     165  __unDName = _MSVCRT___unDName @118
     166  __unDNameEx = _MSVCRT___unDNameEx     @119
     167  __unguarded_readlc_active = _MSVCRT___unguarded_readlc_active @120
     168  __wargv = _MSVCRT___wargv     @121
     169  __wgetmainargs = ___wgetmainargs @122
     170  __winitenv = _MSVCRT___winitenv       @123
     171  _abnormal_termination = __abnormal_termination        @124
     172  _access = _MSVCRT__access     @125
     173  _acmdln = _MSVCRT__acmdln     @126
     174  _adj_fdiv_m16i = __adj_fdiv_m16i @127
     175  _adj_fdiv_m32 = __adj_fdiv_m32 @128
     176  _adj_fdiv_m32i = __adj_fdiv_m32i @129
     177  _adj_fdiv_m64 = __adj_fdiv_m64 @130
     178  _adj_fdiv_r = __adj_fdiv_r @131
     179  _adj_fdivr_m16i = __adj_fdivr_m16i @132
     180  _adj_fdivr_m32 = __adj_fdivr_m32 @133
     181  _adj_fdivr_m32i = __adj_fdivr_m32i @134
     182  _adj_fdivr_m64 = __adj_fdivr_m64 @135
     183  _adj_fpatan = __adj_fpatan @136
     184  _adj_fprem = __adj_fprem @137
     185  _adj_fprem1 = __adj_fprem1 @138
     186  _adj_fptan = __adj_fptan @139
     187  _adjust_fdiv = __adjust_fdiv @140
     188  _amsg_exit = _MSVCRT__amsg_exit       @141
     189  _assert = _MSVCRT__assert     @142
     190  _beep = __beep @143
    191191; We want not EMX one but our own
    192  _beginthread = MSVCRT__beginthread     @145
    193  _beginthreadex         @146
    194  _c_exit = MSVCRT__c_exit       @147
    195  _cabs = MSVCRT__cabs   @148
    196  _callnewh      @149
    197  _cexit = MSVCRT__cexit @150
    198  _cgets = MSVCRT__cgets @151
    199  _chdir = MSVCRT__chdir @152
    200  _chdrive = MSVCRT__chdrive     @153
    201  _chgsign       @154
    202  _chkesp        @155
    203  _chmod = MSVCRT__chmod @156
    204  _clearfp       @157
    205  _close = MSVCRT__close @158
    206  _commit        @159
    207  _commode = MSVCRT__commode     @160
    208  _control87 = MSVCRT__control87 @161
    209  _controlfp     @162
    210  _copysign      @163
    211  _cprintf = MSVCRT__cprintf     @164
    212  _cputs = MSVCRT__cputs @165
    213  _creat = MSVCRT__creat @166
    214  _cscanf = MSVCRT__cscanf       @167
    215  _ctype = MSVCRT__ctype @168
    216  _cwait = MSVCRT__cwait @169
    217  _ecvt   @170
    218  _endthread = MSVCRT__endthread @171
    219  _endthreadex   @172
    220  _environ = MSVCRT__environ     @173
    221  _eof   @174
    222  _errno = MSVCRT__errno @175
    223  _except_handler2       @176
    224  _except_handler3       @177
    225  _execl = MSVCRT__execl  @178
     192 _beginthread = _MSVCRT__beginthread    @145
     193 _beginthreadex = __beginthreadex @146
     194 _c_exit = _MSVCRT__c_exit      @147
     195 _cabs = _MSVCRT__cabs  @148
     196 _callnewh = __callnewh @149
     197 _cexit = _MSVCRT__cexit        @150
     198 _cgets = _MSVCRT__cgets        @151
     199 _chdir = _MSVCRT__chdir        @152
     200 _chdrive = _MSVCRT__chdrive    @153
     201 _chgsign = __chgsign @154
     202 _chkesp = __chkesp @155
     203 _chmod = _MSVCRT__chmod @156
     204 _clearfp = __clearfp @157
     205 _close = _MSVCRT__close        @158
     206 _commit = __commit @159
     207 _commode = _MSVCRT__commode    @160
     208 _control87 = _MSVCRT__control87        @161
     209 _controlfp = __controlfp @162
     210 _copysign = _MSVCRT__copysign @163
     211 _cprintf = _MSVCRT__cprintf    @164
     212 _cputs = _MSVCRT__cputs        @165
     213 _creat = _MSVCRT__creat        @166
     214 _cscanf = _MSVCRT__cscanf      @167
     215 _ctype = _MSVCRT__ctype        @168
     216 _cwait = _MSVCRT__cwait        @169
     217 _ecvt = __ecvt @170
     218 _endthread = _MSVCRT__endthread        @171
     219 _endthreadex = __endthreadex @172
     220 _environ = _MSVCRT__environ    @173
     221 _eof = __eof @174
     222 _errno = _MSVCRT__errno        @175
     223 _except_handler2 = __except_handler2 @176
     224 _except_handler3 = __except_handler3 @177
     225 _execl = _MSVCRT__execl  @178
    226226; @ stub _execle #(str str) varargs     @179
    227  _execlp = MSVCRT__execlp       @180
     227 _execlp = _MSVCRT__execlp      @180
    228228;# stub _execlpe #(str str) varargs     @181
    229  _execv = MSVCRT__execv @182
    230  _execve = MSVCRT__execve       @183
    231  _execvp = MSVCRT__execvp @184
    232  _execvpe = MSVCRT__execvpe     @185
    233  _exit = MSVCRT__exit   @186
     229 _execv = _MSVCRT__execv        @182
     230 _execve = _MSVCRT__execve      @183
     231 _execvp = _MSVCRT__execvp @184
     232 _execvpe = _MSVCRT__execvpe    @185
     233 _exit = _MSVCRT__exit  @186
    234234 _expand        @187
    235  _fcloseall = MSVCRT__fcloseall @188
    236  _fcvt          @189
    237  _fdopen = MSVCRT__fdopen       @190
    238  _fgetchar = MSVCRT__fgetchar   @191
    239  _fgetwchar     @192
    240  _filbuf        @193
     235 _fcloseall = _MSVCRT__fcloseall        @188
     236 _fcvt = __fcvt @189
     237 _fdopen = _MSVCRT__fdopen      @190
     238 _fgetchar = _MSVCRT__fgetchar  @191
     239 _fgetwchar = __fgetwchar @192
     240 _filbuf = __filbuf @193
    241241;# stub _fileinfo       @194
    242  _filelength = MSVCRT__filelength       @195
     242 _filelength = _MSVCRT__filelength      @195
    243243;# stub _filelengthi64 #(long)  @196
    244   _fileno = MSVCRT__fileno      @197
    245   _findclose    @198
    246   _findfirst    @199
     244  _fileno = _MSVCRT__fileno     @197
     245  _findclose = __findclose @198
     246  _findfirst = __findfirst @199
    247247;# stub _findfirsti64 #(str ptr)        @200
    248   _findnext     @201
     248  _findnext = __findnext @201
    249249;# stub _findnexti64 #(long ptr)        @202
    250   _finite       @203
    251   _flsbuf       @204
    252   _flushall = MSVCRT__flushall  @205
    253   _fmode = MSVCRT__fmode        @206
    254   _fpclass      @207
     250  _finite = __finite @203
     251  _flsbuf = __flsbuf @204
     252  _flushall = _MSVCRT__flushall @205
     253  _fmode = _MSVCRT__fmode       @206
     254  _fpclass = __fpclass @207
    255255;# stub _fpieee_flt     @208
    256   _fpreset = MSVCRT__fpreset    @209
    257   _fputchar = MSVCRT__fputchar  @210
    258   _fputwchar    @211
    259   _fsopen = MSVCRT__fsopen      @212
    260   _fstat = MSVCRT__fstat        @213
    261   _fstati64     @214
    262   _ftime = MSVCRT__ftime        @215
    263   _ftol @216
    264   _fullpath = MSVCRT__fullpath  @217
    265   _futime       @218
    266   _gcvt = MSVCRT__gcvt  @219
    267   _get_osfhandle        @220
     256  _fpreset = _MSVCRT__fpreset   @209
     257  _fputchar = _MSVCRT__fputchar @210
     258  _fputwchar = __fputwchar @211
     259  _fsopen = _MSVCRT__fsopen     @212
     260  _fstat = _MSVCRT__fstat       @213
     261  _fstati64 = __fstati64 @214
     262  _ftime = _MSVCRT__ftime       @215
     263  _ftol = __ftol @216
     264  _fullpath = _MSVCRT__fullpath         @217
     265  _futime = __futime @218
     266  _gcvt = _MSVCRT__gcvt  @219
     267  _get_osfhandle = __get_osfhandle @220
    268268;# stub _get_sbh_threshold #()  @221
    269   _getch = MSVCRT__getch        @222
    270   _getche = MSVCRT__getche      @223
    271   _getcwd = MSVCRT__getcwd      @224
    272   _getdcwd = MSVCRT__getdcwd    @225
    273   _getdiskfree  @226
    274   _getdllprocaddr @227
    275   _getdrive = MSVCRT__getdrive  @228
    276   _getdrives = MSVCRT_GetLogicalDrives  @229
     269  _getch = _MSVCRT__getch       @222
     270  _getche = _MSVCRT__getche     @223
     271  _getcwd = _MSVCRT__getcwd     @224
     272  _getdcwd = _MSVCRT__getdcwd   @225
     273  _getdiskfree = __getdiskfree @226
     274  _getdllprocaddr = __getdllprocaddr @227
     275  _getdrive = _MSVCRT__getdrive @228
     276  _getdrives = _MSVCRT_GetLogicalDrives @229
    277277;# stub _getmaxstdio #()        @230
    278   _getmbcp      @231
    279   _getpid = MSVCRT_GetCurrentProcessId  @232
     278  _getmbcp = __getmbcp @231
     279  _getpid = _MSVCRT_GetCurrentProcessId @232
    280280;# stub _getsystime #(ptr)      @233
    281   _getw = MSVCRT__getw  @234
    282   _getws = MSVCRT__getws        @235
    283   _global_unwind2       @236
    284   _heapadd = MSVCRT__heapadd    @237
    285   _heapchk = MSVCRT__heapchk    @238
    286   _heapmin = MSVCRT__heapmin    @239
    287   _heapset = MSVCRT__heapset    @240
     281  _getw = _MSVCRT__getw @234
     282  _getws = _MSVCRT__getws       @235
     283  _global_unwind2 = __global_unwind2 @236
     284  _heapadd = _MSVCRT__heapadd   @237
     285  _heapchk = _MSVCRT__heapchk   @238
     286  _heapmin = _MSVCRT__heapmin   @239
     287  _heapset = _MSVCRT__heapset   @240
    288288;# stub _heapused #(ptr ptr)    @241
    289   _heapwalk = MSVCRT__heapwalk  @242
    290   _hypot        @243
     289  _heapwalk = _MSVCRT__heapwalk @242
     290  _hypot = hypot @243
    291291;# stub _i64toa #(long str long)        @244
    292292;# stub _i64tow #(long wstr long)       @245
    293   _initterm     @246
     293  _initterm = __initterm @246
    294294;# stub _inp #(long) -i386      @247
    295295;# stub _inpd #(long) -i386     @248
    296296;# stub _inpw #(long) -i386     @249
    297   _iob = MSVCRT__iob    @250
    298 
    299   _isatty = MSVCRT__isatty @252
    300   _isctype      @253
     297  _iob = _MSVCRT__iob   @250
     298
     299  _isatty = _MSVCRT__isatty @252
     300  _isctype = __isctype @253
    301301;# stub _ismbbalnum #(long)     @254
    302302;# stub _ismbbalpha #(long)     @255
    303303;# stub _ismbbgraph #(long)     @256
    304304;# stub _ismbbkalnum #(long)    @257
    305   _ismbbkana    @258
     305  _ismbbkana = __ismbbkana @258
    306306;# stub _ismbbkprint #(long)    @259
    307307;# stub _ismbbkpunct #(long)    @260
    308   _ismbblead    @261
     308  _ismbblead = __ismbblead @261
    309309;# stub _ismbbprint #(long)     @262
    310310;# stub _ismbbpunct #(long)     @263
    311   _ismbbtrail   @264
    312   _ismbcalnum   @265
    313   _ismbcalpha   @266
    314   _ismbcdigit   @267
    315   _ismbcgraph   @268
    316   _ismbchira    @269
    317   _ismbckata    @270
     311  _ismbbtrail = __ismbbtrail @264
     312  _ismbcalnum = __ismbcalnum @265
     313  _ismbcalpha = __ismbcalpha @266
     314  _ismbcdigit = __ismbcdigit @267
     315  _ismbcgraph = __ismbcgraph @268
     316  _ismbchira = __ismbchira @269
     317  _ismbckata = __ismbckata @270
    318318;# stub _ismbcl0 #(long)        @271
    319319;# stub _ismbcl1 #(long)        @272
    320320;# stub _ismbcl2 #(long)        @273
    321321;# stub _ismbclegal #(long)     @274
    322   _ismbclower   @275
    323   _ismbcprint   @276
    324   _ismbcpunct   @277
    325   _ismbcspace   @278
    326   _ismbcsymbol  @279
    327   _ismbcupper   @280
    328   _ismbslead    @281
    329   _ismbstrail   @282
    330   _isnan        @283
    331   _itoa @284
    332   _itow @285
     322  _ismbclower = __ismbclower @275
     323  _ismbcprint = __ismbcprint @276
     324  _ismbcpunct = __ismbcpunct @277
     325  _ismbcspace = __ismbcspace @278
     326  _ismbcsymbol = __ismbcsymbol @279
     327  _ismbcupper = __ismbcupper @280
     328  _ismbslead = __ismbslead @281
     329  _ismbstrail = __ismbstrail @282
     330  _isnan = __isnan @283
     331  _itoa = emx__itoa @284
     332  _itow = __itow @285
    333333  _j0 = j0      @286
    334334  _j1 = j1      @287
    335335  _jn = jn      @288
    336   _kbhit = MSVCRT__kbhit        @289
    337   _lfind = MSVCRT__lfind        @290
    338   _loaddll      @291
    339   _local_unwind2        @292
    340   _lock @293
    341   _locking      @294
    342   _logb @295
     336  _kbhit = _MSVCRT__kbhit       @289
     337  _lfind = _MSVCRT__lfind       @290
     338  _loaddll = __loaddll @291
     339  _local_unwind2 = __local_unwind2 @292
     340  _lock = __lock @293
     341  _locking = __locking @294
     342  _logb = __logb @295
    343343;# stub _longjmpex      @296
    344   _lrotl = MSVCRT__lrotl        @297
    345   _lrotr = MSVCRT__lrotr        @298
    346   _lsearch = MSVCRT__lsearch    @299
    347   _lseek = MSVCRT__lseek        @300
    348   _lseeki64     @301
    349   _ltoa @302
    350   _ltow @303
    351   _makepath = MSVCRT__makepath  @304
    352   _matherr = MSVCRT__matherr    @305
    353   _mbbtombc     @306
     344  _lrotl = _MSVCRT__lrotl       @297
     345  _lrotr = _MSVCRT__lrotr       @298
     346  _lsearch = _MSVCRT__lsearch   @299
     347  _lseek = _MSVCRT__lseek       @300
     348  _lseeki64 = __lseeki64 @301
     349  _ltoa = emx__ltoa @302
     350  _ltow = __ltow @303
     351  _makepath = _MSVCRT__makepath @304
     352  _matherr = _MSVCRT__matherr   @305
     353  _mbbtombc = __mbbtombc @306
    354354;# stub _mbbtype #(long long)   @307
    355355;# stub _mbcasemap      @308
    356   _mbccpy = strcpy      @309
     356  _mbccpy = emx_strcpy  @309
    357357;# stub _mbcjistojms #(long)    @310
    358358;# stub _mbcjmstojis #(long)    @311
    359   _mbclen       @312
     359  _mbclen = __mbclen @312
    360360;# stub _mbctohira #(long)      @313
    361361;# stub _mbctokata #(long)      @314
    362   _mbctolower   @315
     362  _mbctolower = __mbctolower @315
    363363;# stub _mbctombb #(long)       @316
    364   _mbctoupper   @317
     364  _mbctoupper = __mbctoupper @317
    365365;# stub _mbctype        @318
    366366;# stub _mbsbtype #(ptr long)   @319
    367   _mbscat = strcat      @320
    368   _mbschr       @321
    369   _mbscmp       @322
     367  _mbscat = emx_strcat  @320
     368  _mbschr = __mbschr @321
     369  _mbscmp = __mbscmp @322
    370370;# stub _mbscoll #(str str)     @323
    371   _mbscpy = strcpy      @324
    372   _mbscspn      @325
    373   _mbsdec       @326
    374   _mbsdup = _strdup     @327
    375   _mbsicmp      @328
    376   _mbsicoll     @329
    377   _mbsinc       @330
    378   _mbslen       @331
    379   _mbslwr       @332
    380   _mbsnbcat     @333
    381   _mbsnbcmp     @334
    382   _mbsnbcnt     @335
     371  _mbscpy = emx_strcpy  @324
     372  _mbscspn = __mbscspn @325
     373  _mbsdec = __mbsdec @326
     374  _mbsdup = _MSVCRT__strdup     @327
     375  _mbsicmp = __mbsicmp @328
     376  _mbsicoll = __mbsicoll @329
     377  _mbsinc = __mbsinc @330
     378  _mbslen = __mbslen @331
     379  _mbslwr = __mbslwr @332
     380  _mbsnbcat = __mbsnbcat @333
     381  _mbsnbcmp = __mbsnbcmp @334
     382  _mbsnbcnt = __mbsnbcnt @335
    383383;# stub _mbsnbcoll #(str str long)      @336
    384   _mbsnbcpy     @337
    385   _mbsnbicmp    @338
     384  _mbsnbcpy = __mbsnbcpy @337
     385  _mbsnbicmp = __mbsnbicmp @338
    386386;# stub _mbsnbicoll #(str str long)     @339
    387   _mbsnbset     @340
    388   _mbsncat      @341
    389   _mbsnccnt     @342
    390   _mbsncmp      @343
     387  _mbsnbset = __mbsnbset @340
     388  _mbsncat = __mbsncat @341
     389  _mbsnccnt = __mbsnccnt @342
     390  _mbsncmp = __mbsncmp @343
    391391;# stub _mbsncoll #(ptr str long)       @344
    392   _mbsncpy      @345
    393   _mbsnextc     @346
    394   _mbsnicmp     @347
     392  _mbsncpy = __mbsncpy @345
     393  _mbsnextc = __mbsnextc @346
     394  _mbsnicmp = __mbsnicmp @347
    395395;# stub _mbsnicoll #(str str long)      @348
    396   _mbsninc      @349
    397   _mbsnset      @350
    398   _mbspbrk      @351
    399   _mbsrchr      @352
    400   _mbsrev       @353
    401   _mbsset       @354
    402   _mbsspn       @355
     396  _mbsninc = __mbsninc @349
     397  _mbsnset = __mbsnset @350
     398  _mbspbrk = __mbspbrk @351
     399  _mbsrchr = __mbsrchr @352
     400  _mbsrev = __mbsrev @353
     401  _mbsset = __mbsset @354
     402  _mbsspn = __mbsspn @355
    403403;# stub _mbsspnp #(str str)     @356
    404   _mbsstr = strstr      @357
    405   _mbstok       @358
    406   _mbstrlen     @359
    407   _mbsupr       @360
    408   _memccpy      @361
     404  _mbsstr = emx_strstr  @357
     405  _mbstok = __mbstok @358
     406  _mbstrlen = __mbstrlen @359
     407  _mbsupr = __mbsupr @360
     408  _memccpy = emx__memccpy @361
    409409  _memicmp = NTDLL_memicmp      @362
    410   _mkdir = MSVCRT__mkdir        @363
     410  _mkdir = _MSVCRT__mkdir       @363
    411411  _mktemp       @364
    412   _msize = MSVCRT__msize        @365
    413   _nextafter    @366
    414   _onexit = MSVCRT__onexit      @367
    415   _open = MSVCRT__open @368
    416   _open_osfhandle       @369
     412  _msize = _MSVCRT__msize       @365
     413  _nextafter = _MSVCRT__nextafter @366
     414  _onexit = _MSVCRT__onexit     @367
     415  _open = _MSVCRT__open @368
     416  _open_osfhandle = __open_osfhandle @369
    417417;# stub _osver  @370
    418418;# stub _outp #(long long)      @371
     
    420420;# stub _outpw #(long long)     @373
    421421;# stub _pclose #(ptr)  @374
    422   _pctype = MSVCRT__pctype      @375
     422  _pctype = _MSVCRT__pctype     @375
    423423;# stub _pgmptr @376
    424424;# stub _pipe #(ptr long long)  @377
    425425;# stub _popen #(str str)       @378
    426   _purecall     @379
    427   _putch = MSVCRT__putch        @380
    428   _putenv = MSVCRT__putenv      @381
    429   _putw = MSVCRT__putw  @382
    430   _putws        @383
     426  _purecall = __purecall @379
     427  _putch = _MSVCRT__putch       @380
     428  _putenv = _MSVCRT__putenv     @381
     429  _putw = _MSVCRT__putw @382
     430  _putws = __putws @383
    431431;# stub _pwctype        @384
    432   _read = MSVCRT__read @385
    433   _rmdir = MSVCRT__rmdir        @386
    434   _rmtmp = MSVCRT__rmtmp        @387
    435   _rotl = MSVCRT__rotl  @388
    436   _rotr = MSVCRT__rotr  @389
    437   _safe_fdiv    @390
    438   _safe_fdivr   @391
    439   _safe_fprem   @392
    440   _safe_fprem1  @393
    441   _scalb        @394
    442   _searchenv = MSVCRT__searchenv        @395
     432  _read = _MSVCRT__read @385
     433  _rmdir = _MSVCRT__rmdir       @386
     434  _rmtmp = _MSVCRT__rmtmp       @387
     435  _rotl = _MSVCRT__rotl @388
     436  _rotr = _MSVCRT__rotr @389
     437  _safe_fdiv = __safe_fdiv @390
     438  _safe_fdivr = __safe_fdivr @391
     439  _safe_fprem = __safe_fprem @392
     440  _safe_fprem1 = __safe_fprem1 @393
     441  _scalb = __scalb @394
     442  _searchenv = _MSVCRT__searchenv       @395
    443443  _seh_longjmp_unwind = __seh_longjmp_unwind@4  @396
    444444;# stub _set_error_mode #(long) @397
    445445;# stub _set_sbh_threshold #(long)      @398
    446446;# stub _seterrormode #(long)   @399
    447   _setjmp = _MSVCRT__setjmp     @400
    448   _setjmp3 = _MSVCRT__setjmp3   @401
     447  _setjmp = __MSVCRT__setjmp    @400
     448  _setjmp3 = __MSVCRT__setjmp3  @401
    449449;# stub _setmaxstdio #(long)    @402
    450   _setmbcp      @403
    451   _setmode = MSVCRT__setmode    @404
     450  _setmbcp = __setmbcp @403
     451  _setmode = _MSVCRT__setmode   @404
    452452;# stub _setsystime #(ptr long) @405
    453   _sleep = MSVCRT__sleep        @406
     453  _sleep = _MSVCRT__sleep       @406
    454454  _snprintf = emx__snprintf     @407
    455   _snwprintf @408
    456   _sopen = MSVCRT__sopen        @409
    457   _spawnl = MSVCRT__spawnl      @410
     455  _snwprintf = __snwprintf @408
     456  _sopen = _MSVCRT__sopen       @409
     457  _spawnl = _MSVCRT__spawnl     @410
    458458;# stub _spawnle #(str str) varargs     @411
    459   _spawnlp = MSVCRT__spawnlp    @412
     459  _spawnlp = _MSVCRT__spawnlp   @412
    460460;# stub _spawnlpe #(str str) varargs    @413
    461   _spawnv = MSVCRT__spawnv      @414
    462   _spawnve = MSVCRT__spawnve    @415
    463   _spawnvp = MSVCRT__spawnvp    @416
    464   _spawnvpe = MSVCRT__spawnvpe  @417
     461  _spawnv = _MSVCRT__spawnv     @414
     462  _spawnve = _MSVCRT__spawnve   @415
     463  _spawnvp = _MSVCRT__spawnvp   @416
     464  _spawnvpe = _MSVCRT__spawnvpe @417
    465465  _splitpath = emx__splitpath   @418
    466   _stat = MSVCRT__stat @419
    467   _stati64      @420
    468   _statusfp     @421
    469   _strcmpi = strcasecmp @422
    470   _strdate = MSVCRT__strdate    @423
    471   _strdup = MSVCRT__strdup      @424
    472   _strerror = MSVCRT__strerror  @425
    473   _stricmp  = strcasecmp        @426
     466  _stat = _MSVCRT__stat @419
     467  _stati64 = __stati64 @420
     468  _statusfp = __statusfp @421
     469  _strcmpi = emx__stricmp       @422
     470  _strdate = _MSVCRT__strdate   @423
     471  _strdup = _MSVCRT__strdup     @424
     472  _strerror = _MSVCRT__strerror @425
     473  _stricmp  = emx__stricmp      @426
    474474;# stub _stricoll #(str str)    @427
    475   _strlwr       @428
     475  _strlwr = emx__strlwr @428
    476476;# stub _strncoll #(str str long)       @429
    477   _strnicmp = strncasecmp       @430
     477  _strnicmp = emx__strnicmp     @430
    478478;# stub _strnicoll #(str str long)      @431
    479   _strnset = MSVCRT__strnset    @432
    480   _strrev = MSVCRT__strrev      @433
    481   _strset = MSVCRT__strset      @434
    482   _strtime = MSVCRT__strtime    @435
    483   _strupr @436
    484   _swab = MSVCRT__swab @437
    485   _sys_errlist = MSVCRT__sys_errlist    @438
    486   _sys_nerr = MSVCRT__sys_nerr  @439
    487   _tell = MSVCRT__tell  @440
     479  _strnset = _MSVCRT__strnset   @432
     480  _strrev = _MSVCRT__strrev     @433
     481  _strset = _MSVCRT__strset     @434
     482  _strtime = _MSVCRT__strtime   @435
     483  _strupr = emx__strupr @436
     484  _swab = _MSVCRT__swab @437
     485  _sys_errlist = _MSVCRT__sys_errlist   @438
     486  _sys_nerr = _MSVCRT__sys_nerr @439
     487  _tell = _MSVCRT__tell @440
    488488;# stub _telli64 #(long)        @441
    489   _tempnam = MSVCRT__tempnam    @442
     489  _tempnam = _MSVCRT__tempnam   @442
    490490;# stub _timezone #()   @443
    491   _tolower = MSVCRT__tolower    @444
    492   _toupper = MSVCRT__toupper    @445
     491  _tolower = _MSVCRT__tolower   @444
     492  _toupper = _MSVCRT__toupper   @445
    493493;# stub _tzname @446
    494494  _tzset = emx__tzset   @447
    495495;# stub _ui64toa #(long str long)       @448
    496496;# stub _ui64tow #(long wstr long)      @449
    497   _ultoa        @450
    498   _ultow        @451
    499   _umask = MSVCRT_umask @452
    500   _ungetch = MSVCRT__ungetch    @453
    501   _unlink = MSVCRT__unlink      @454
    502   _unloaddll    @455
    503   _unlock       @456
    504   _utime = MSVCRT_utime @457
    505   _vsnprintf    @458
    506   _vsnwprintf   @459
    507   _waccess      @460
     497  _ultoa = emx__ultoa @450
     498  _ultow = __ultow @451
     499  _umask = _MSVCRT_umask        @452
     500  _ungetch = _MSVCRT__ungetch   @453
     501  _unlink = _MSVCRT__unlink     @454
     502  _unloaddll = __unloaddll @455
     503  _unlock = __unlock @456
     504  _utime = _MSVCRT_utime        @457
     505  _vsnprintf = emx__vsnprintf @458
     506  _vsnwprintf = __vsnwprintf @459
     507  _waccess = __waccess @460
    508508;# stub _wasctime #(ptr)        @461
    509   _wchdir       @462
    510   _wchmod       @463
    511   _wcmdln = MSVCRT__wcmdln      @464
    512   _wcreat       @465
    513   _wcsdup       @466
     509  _wchdir = __wchdir @462
     510  _wchmod = __wchmod @463
     511  _wcmdln = _MSVCRT__wcmdln     @464
     512  _wcreat = __wcreat @465
     513  _wcsdup = __wcsdup @466
    514514  _wcsicmp = NTDLL_wcsicmp      @467
    515   _wcsicoll     @468
    516   _wcslwr = _wcslwr     @469
     515  _wcsicoll = __wcsicoll @468
     516  _wcslwr       @469
    517517;# stub _wcsncoll #(wstr wstr long)     @470
    518    _wcsnicmp = _wcsnicmp        @471
     518   _wcsnicmp    @471
    519519;# stub _wcsnicoll #(wstr wstr long)    @472
    520   _wcsnset      @473
    521   _wcsrev       @474
    522   _wcsset       @475
     520  _wcsnset = __wcsnset @473
     521  _wcsrev = __wcsrev @474
     522  _wcsset = __wcsset @475
    523523  _wcsupr = NTDLL_wcsupr        @476
    524524;# stub _wctime #(ptr)  @477
    525   _wenviron = MSVCRT__wenviron  @478
     525  _wenviron = _MSVCRT__wenviron @478
    526526;# stub _wexecl #(wstr wstr) varargs    @479
    527527;# stub _wexecle #(wstr wstr) varargs   @480
     
    532532;# stub _wexecvp #(wstr wstr)   @485
    533533;# stub _wexecvpe #(wstr wstr wstr)     @486
    534   _wfdopen      @487
    535   _wfindfirst   @488
     534  _wfdopen = __wfdopen @487
     535  _wfindfirst = __wfindfirst @488
    536536;# stub _wfindfirsti64 #(wstr ptr)      @489
    537   _wfindnext    @490
     537  _wfindnext = __wfindnext @490
    538538;# stub _wfindnexti64 #(long ptr)       @491
    539   _wfopen       @492
     539  _wfopen = __wfopen @492
    540540;# stub _wfreopen #(wstr wstr ptr)      @493
    541   _wfsopen      @494
    542   _wfullpath    @495
    543   _wgetcwd      @496
    544   _wgetdcwd     @497
    545   _wgetenv      @498
    546   _winmajor = MSVCRT__winmajor  @499
    547   _winminor = MSVCRT__winminor  @500
    548   _winver = MSVCRT__winver      @501
    549   _wmakepath    @502
    550   _wmkdir       @503
    551   _wmktemp      @504
    552   _wopen        @505
     541  _wfsopen = __wfsopen @494
     542  _wfullpath = __wfullpath @495
     543  _wgetcwd = __wgetcwd @496
     544  _wgetdcwd = __wgetdcwd @497
     545  _wgetenv = __wgetenv @498
     546  _winmajor = _MSVCRT__winmajor @499
     547  _winminor = _MSVCRT__winminor @500
     548  _winver = _MSVCRT__winver     @501
     549  _wmakepath = __wmakepath @502
     550  _wmkdir = __wmkdir @503
     551  _wmktemp = __wmktemp @504
     552  _wopen = __wopen @505
    553553;# stub _wperror #(wstr)        @506
    554554;# stub _wpgmptr        @507
    555555;# stub _wpopen #(wstr wstr)    @508
    556   _wputenv      @509
    557   _wremove      @510
    558   _wrename      @511
    559   _write = MSVCRT__write        @512
    560   _wrmdir       @513
     556  _wputenv = __wputenv @509
     557  _wremove = __wremove @510
     558  _wrename = __wrename @511
     559  _write = _MSVCRT__write       @512
     560  _wrmdir = __wrmdir @513
    561561;# stub _wsearchenv #(wstr wstr wstr)   @514
    562562;# stub _wsetlocale #(long wstr)        @515
    563   _wsopen = MSVCRT__wsopen      @516
     563  _wsopen = _MSVCRT__wsopen     @516
    564564;# stub _wspawnl #(long wstr wstr) varargs      @517
    565565;# stub _wspawnle #(long wstr wstr) varargs     @518
     
    570570;# stub _wspawnvp #(long wstr wstr)     @523
    571571;# stub _wspawnvpe #(long wstr wstr wstr)       @524
    572   _wsplitpath   @525
    573   _wstat        @526
    574   _wstati64                     @527
     572  _wsplitpath = __wsplitpath @525
     573  _wstat = __wstat @526
     574  _wstati64 = __wstati64 @527
    575575;# stub _wstrdate #(wstr)       @528
    576576;# stub _wstrtime #(wstr)       @529
    577577;# stub _wsystem #(wstr)        @530
    578   _wtempnam     @531
     578  _wtempnam = __wtempnam @531
    579579;# stub _wtmpnam #(wstr)        @532
    580   _wtoi @533
     580  _wtoi = __wtoi @533
    581581;# stub _wtoi64 #(wstr) @534
    582   _wtol @535
    583   _wunlink      @536
    584   _wutime       @537
    585   _y0 = MSVCRT__y0      @538
    586   _y1 = MSVCRT__y1      @539
    587   _yn = MSVCRT__yn      @540
    588   abort = MSVCRT_abort  @541
     582  _wtol = __wtol @535
     583  _wunlink = __wunlink @536
     584  _wutime = __wutime @537
     585  _y0 = _MSVCRT__y0     @538
     586  _y1 = _MSVCRT__y1     @539
     587  _yn = _MSVCRT__yn     @540
     588  abort = _MSVCRT_abort @541
    589589  abs = emx_abs @542
    590590  acos = emx_acos       @543
     
    593593  atan = emx_atan       @546
    594594  atan2 = emx_atan2 @547
    595   atexit = MSVCRT_atexit        @548
    596   atof = MSVCRT_atof    @549
    597   atoi @550
    598   atol @551
    599   bsearch       @552
    600   calloc = MSVCRT_calloc        @553
     595  atexit = _MSVCRT_atexit       @548
     596  atof = _MSVCRT_atof   @549
     597  atoi = emx_atoi @550
     598  atol = emx_atol @551
     599  bsearch = emx_bsearch @552
     600  calloc = _MSVCRT_calloc       @553
    601601  ceil = emx_ceil       @554
    602   clearerr = MSVCRT_clearerr    @555
    603   clock = MSVCRT_clock  @556
     602  clearerr = _MSVCRT_clearerr   @555
     603  clock = _MSVCRT_clock @556
    604604  cos = emx_cos @557
    605605  cosh = emx_cosh       @558
    606606  ctime = emx_ctime @559
    607   difftime = MSVCRT_difftime    @560
    608   div = MSVCRT_div      @561
    609   exit = MSVCRT_exit    @562
     607  difftime = _MSVCRT_difftime   @560
     608  div = _MSVCRT_div     @561
     609  exit = _MSVCRT_exit   @562
    610610  exp = emx_exp @563
    611611  fabs = emx_fabs       @564
    612   fclose = MSVCRT_fclose        @565
    613   feof = MSVCRT_feof    @566
    614   ferror = MSVCRT_ferror        @567
    615   fflush = MSVCRT_fflush        @568
    616   fgetc = MSVCRT_fgetc  @569
    617   fgetpos = MSVCRT_fgetpos      @570
    618   fgets = MSVCRT_fgets  @571
    619   fgetwc = MSVCRT_fgetwc        @572
    620   fgetws = MSVCRT_fgetws        @573
     612  fclose = _MSVCRT_fclose       @565
     613  feof = _MSVCRT_feof   @566
     614  ferror = _MSVCRT_ferror       @567
     615  fflush = _MSVCRT_fflush       @568
     616  fgetc = _MSVCRT_fgetc @569
     617  fgetpos = _MSVCRT_fgetpos     @570
     618  fgets = _MSVCRT_fgets @571
     619  fgetwc = _MSVCRT_fgetwc       @572
     620  fgetws = _MSVCRT_fgetws       @573
    621621  floor = emx_floor @574
    622622  fmod  = emx_fmod @575
    623   fopen = MSVCRT_fopen  @576
    624   fprintf = MSVCRT_fprintf      @577
    625   fputc = MSVCRT_fputc  @578
    626   fputs = MSVCRT_fputs  @579
    627   fputwc = MSVCRT_fputwc        @580
    628   fputws = MSVCRT_fputws        @581
    629   fread = MSVCRT_fread  @582
    630   free = MSVCRT_free    @583
    631   freopen = MSVCRT_freopen      @584
     623  fopen = _MSVCRT_fopen @576
     624  fprintf = _MSVCRT_fprintf     @577
     625  fputc = _MSVCRT_fputc @578
     626  fputs = _MSVCRT_fputs @579
     627  fputwc = _MSVCRT_fputwc       @580
     628  fputws = _MSVCRT_fputws       @581
     629  fread = _MSVCRT_fread @582
     630  free = _MSVCRT_free   @583
     631  freopen = _MSVCRT_freopen     @584
    632632  frexp = emx_frexp     @585
    633   fscanf = MSVCRT_fscanf        @586
    634   fseek = MSVCRT_fseek  @587
    635   fsetpos = MSVCRT_fsetpos      @588
    636   ftell = MSVCRT_ftell  @589
    637   fwprintf = MSVCRT_fwprintf    @590
    638   fwrite = MSVCRT_fwrite        @591
    639   fwscanf = MSVCRT_fwscanf      @592
    640   getc = MSVCRT_getc    @593
    641   getchar = MSVCRT_getchar      @594
    642   getenv = MSVCRT_getenv        @595
    643   gets = MSVCRT_gets    @596
    644   getwc = MSVCRT_getwc  @597
    645   getwchar = MSVCRT_getwchar    @598
     633  fscanf = _MSVCRT_fscanf       @586
     634  fseek = _MSVCRT_fseek @587
     635  fsetpos = _MSVCRT_fsetpos     @588
     636  ftell = _MSVCRT_ftell @589
     637  fwprintf = _MSVCRT_fwprintf   @590
     638  fwrite = _MSVCRT_fwrite       @591
     639  fwscanf = _MSVCRT_fwscanf     @592
     640  getc = _MSVCRT_getc   @593
     641  getchar = _MSVCRT_getchar     @594
     642  getenv = _MSVCRT_getenv       @595
     643  gets = _MSVCRT_gets   @596
     644  getwc = _MSVCRT_getwc @597
     645  getwchar = _MSVCRT_getwchar   @598
    646646  gmtime = emx_gmtime   @599
    647   is_wctype = iswctype  @600
    648   isalnum = MSVCRT_isalnum      @601
    649   isalpha = MSVCRT_isalpha      @602
    650   iscntrl = MSVCRT_iscntrl      @603
    651   isdigit = MSVCRT_isdigit      @604
    652   isgraph = MSVCRT_isgraph      @605
    653   isleadbyte = MSVCRT_isleadbyte        @606
    654   islower = MSVCRT_islower      @607
    655   isprint = MSVCRT_isprint      @608
    656   ispunct = MSVCRT_ispunct      @609
    657   isspace = MSVCRT_isspace      @610
    658   isupper = MSVCRT_isupper      @611
    659   iswalnum = MSVCRT_iswalnum    @612
    660   iswalpha      @613
    661   iswascii = MSVCRT_iswascii    @614
    662   iswcntrl = MSVCRT_iswcntrl    @615
    663   iswctype      @616
    664   iswdigit = MSVCRT_iswdigit    @617
    665   iswgraph = MSVCRT_iswgraph    @618
    666   iswlower = MSVCRT_iswlower    @619
    667   iswprint = MSVCRT_iswprint    @620
    668   iswpunct = MSVCRT_iswpunct    @621
    669   iswspace = MSVCRT_iswspace    @622
    670   iswupper = MSVCRT_iswupper    @623
    671   iswxdigit = MSVCRT_iswxdigit  @624
    672   isxdigit = MSVCRT_isxdigit    @625
     647  is_wctype = _iswctype @600
     648  isalnum = _MSVCRT_isalnum     @601
     649  isalpha = _MSVCRT_isalpha     @602
     650  iscntrl = _MSVCRT_iscntrl     @603
     651  isdigit = _MSVCRT_isdigit     @604
     652  isgraph = _MSVCRT_isgraph     @605
     653  isleadbyte = _MSVCRT_isleadbyte       @606
     654  islower = _MSVCRT_islower     @607
     655  isprint = _MSVCRT_isprint     @608
     656  ispunct = _MSVCRT_ispunct     @609
     657  isspace = _MSVCRT_isspace     @610
     658  isupper = _MSVCRT_isupper     @611
     659  iswalnum = _MSVCRT_iswalnum   @612
     660  iswalpha = _iswalpha @613
     661  iswascii = _MSVCRT_iswascii   @614
     662  iswcntrl = _MSVCRT_iswcntrl   @615
     663  iswctype = _iswctype @616
     664  iswdigit = _MSVCRT_iswdigit   @617
     665  iswgraph = _MSVCRT_iswgraph   @618
     666  iswlower = _MSVCRT_iswlower   @619
     667  iswprint = _MSVCRT_iswprint   @620
     668  iswpunct = _MSVCRT_iswpunct   @621
     669  iswspace = _MSVCRT_iswspace   @622
     670  iswupper = _MSVCRT_iswupper   @623
     671  iswxdigit = _MSVCRT_iswxdigit @624
     672  isxdigit = _MSVCRT_isxdigit   @625
    673673  labs  = emx_labs @626
    674   ldexp = MSVCRT_ldexp  @627
    675   ldiv = MSVCRT_ldiv    @628
     674  ldexp = _MSVCRT_ldexp @627
     675  ldiv = _MSVCRT_ldiv   @628
    676676;# stub localeconv #()  @629
    677677  localtime = emx_localtime     @630
    678678  log = emx_log @631
    679679  log10 = emx_log10 @632
    680   longjmp = _MSVCRT_longjmp     @633
    681   malloc = MSVCRT_malloc        @634
    682   mblen = MSVCRT_mblen  @635
     680  longjmp = __MSVCRT_longjmp    @633
     681  malloc = _MSVCRT_malloc       @634
     682  mblen = _MSVCRT_mblen @635
    683683  mbstowcs = emx_mbstowcs       @636
    684   mbtowc = MSVCRT_mbtowc        @637
     684  mbtowc = _MSVCRT_mbtowc       @637
    685685  memchr = emx_memchr   @638
    686686  memcmp = emx_memcmp   @639
    687   memcpy = MSVCRT_memcpy        @640
     687  memcpy = _MSVCRT_memcpy       @640
    688688  memmove = emx_memmove @641
    689   memset = MSVCRT_memset        @642
    690   mktime = MSVCRT_mktime        @643
     689  memset = _MSVCRT_memset       @642
     690  mktime = _MSVCRT_mktime       @643
    691691  modf  = emx_modf @644
    692   perror = MSVCRT_perror        @645
     692  perror = _MSVCRT_perror       @645
    693693  pow = emx_pow @646
    694   printf = MSVCRT_printf        @647
    695   putc = MSVCRT_putc    @648
    696   putchar = MSVCRT_putchar      @649
    697   puts = MSVCRT_puts    @650
    698   putwc = MSVCRT_fputwc @651
    699   putwchar =_fputwchar  @652
     694  printf = _MSVCRT_printf       @647
     695  putc = _MSVCRT_putc   @648
     696  putchar = _MSVCRT_putchar     @649
     697  puts = _MSVCRT_puts   @650
     698  putwc = _MSVCRT_fputwc        @651
     699  putwchar = __fputwchar        @652
    700700  qsort = emx_qsort @653
    701701;# stub raise #(long)   @654
    702   rand = MSVCRT_rand    @655
    703   realloc = MSVCRT_realloc      @656
    704   remove = MSVCRT_remove        @657
    705   rename = MSVCRT_rename        @658
    706   rewind = MSVCRT_rewind        @659
    707   scanf = MSVCRT_scanf  @660
    708   setbuf = MSVCRT_setbuf        @661
    709   setlocale = MSVCRT_setlocale  @662
    710   setvbuf = MSVCRT_setvbuf      @663
    711   signal = MSVCRT_signal        @664
     702  rand = _MSVCRT_rand   @655
     703  realloc = _MSVCRT_realloc     @656
     704  remove = _MSVCRT_remove       @657
     705  rename = _MSVCRT_rename       @658
     706  rewind = _MSVCRT_rewind       @659
     707  scanf = _MSVCRT_scanf @660
     708  setbuf = _MSVCRT_setbuf       @661
     709  setlocale = _MSVCRT_setlocale @662
     710  setvbuf = _MSVCRT_setvbuf     @663
     711  signal = _MSVCRT_signal       @664
    712712  sin = emx_sin @665
    713713  sinh = emx_sinh @666
     
    715715  sqrt = emx_sqrt @668
    716716  srand = emx_srand @669
    717   sscanf = MSVCRT_sscanf        @670
     717  sscanf = _MSVCRT_sscanf       @670
    718718  strcat = emx_strcat   @671
    719719  strchr = emx_strchr   @672
     
    722722  strcpy = emx_strcpy   @675
    723723  strcspn = emx_strcspn @676
    724   strerror = MSVCRT_strerror    @677
     724  strerror = _MSVCRT_strerror   @677
    725725  strftime = emx_strftime       @678
    726726  strlen = emx_strlen   @679
     
    733733  strstr = emx_strstr   @686
    734734  strtod = emx_strtod   @687
    735   strtok = emx_strtok   @688 
     735  strtok = emx_strtok   @688
    736736  strtol = emx_strtol   @689
    737737  strtoul = emx_strtoul @690
    738738  strxfrm = emx_strxfrm @691
    739739  swprintf      @692
    740   swscanf = MSVCRT_swscanf      @693
    741   system = MSVCRT_system        @694
     740  swscanf = _MSVCRT_swscanf     @693
     741  system = _MSVCRT_system       @694
    742742  tan = emx_tan @695
    743743  tanh = emx_tanh @696
    744   time = MSVCRT_time    @697
    745   tmpfile = MSVCRT_tmpfile      @698
    746   tmpnam = MSVCRT_tmpnam        @699
     744  time = _MSVCRT_time   @697
     745  tmpfile = _MSVCRT_tmpfile     @698
     746  tmpnam = _MSVCRT_tmpnam       @699
    747747  tolower = emx_tolower @700
    748748  toupper = emx_toupper @701
    749   towlower      @702
    750   towupper      @703
    751   ungetc = MSVCRT_ungetc        @704
    752   ungetwc = MSVCRT_ungetwc      @705
    753   vfprintf = MSVCRT_vfprintf    @706
    754   vfwprintf = MSVCRT_vfwprintf  @707
    755   vprintf = MSVCRT_vprintf      @708
     749  towlower = _towlower @702
     750  towupper = _towupper @703
     751  ungetc = _MSVCRT_ungetc       @704
     752  ungetwc = _MSVCRT_ungetwc     @705
     753  vfprintf = _MSVCRT_vfprintf   @706
     754  vfwprintf = _MSVCRT_vfwprintf @707
     755  vprintf = _MSVCRT_vprintf     @708
    756756  vsprintf = emx_vsprintf       @709
    757   vswprintf = MSVCRT_vswprintf  @710
    758   vwprintf = MSVCRT_vwprintf    @711
     757  vswprintf = _MSVCRT_vswprintf @710
     758  vwprintf = _MSVCRT_vwprintf   @711
    759759  wcscat        @712
    760760  wcschr        @713
    761761  wcscmp        @714
    762   wcscoll =  MSVCRT_wcscoll     @715
     762  wcscoll = _MSVCRT_wcscoll     @715
    763763  wcscpy        @716
    764764  wcscspn       @717
     
    768768  wcsncmp       @721
    769769  wcsncpy       @722
    770   wcspbrk = MSVCRT_wcspbrk      @723
     770  wcspbrk = _MSVCRT_wcspbrk     @723
    771771  wcsrchr       @724
    772772  wcsspn        @725
     
    778778  wcstoul       @731
    779779;# stub wcsxfrm #(wstr wstr long)       @732
    780   wctomb = MSVCRT_wctomb        @733
    781   wprintf = MSVCRT_wprintf      @734
    782   wscanf  = MSVCRT_wscanf       @735
     780  wctomb = _MSVCRT_wctomb       @733
     781  wprintf = _MSVCRT_wprintf     @734
     782  wscanf  = _MSVCRT_wscanf       @735
    783783;# stub _Gettnames      @736
    784784;# stub __lc_collate_cp @737
  • trunk/src/msvcrt/msvcrt.mak

    r10005 r21395  
    2323
    2424!ifndef WMAKE
    25 CDEFINES    = -I$(ODIN32_INCLUDE)\emxruntime -I. $(CDEFINES) -DUSE_MSVCRT_PREFIX -D_MT -I$(ODIN32_INCLUDE)\win\msvcrt
     25CDEFINES    = -I$(ODIN32_INCLUDE)\emxruntime -I. $(CDEFINES) -DUSE_MSVCRT_PREFIX -D_MT
    2626!else
    27 CDEFINES   += -DUSE_MSVCRT_PREFIX -D_MT -I$(ODIN32_INCLUDE)\win\msvcrt
     27CDEFINES   += -DUSE_MSVCRT_PREFIX -D_MT
    2828!endif
    2929
     
    3939$(OBJDIR)\console.obj \
    4040$(OBJDIR)\data.obj \
    41 $(OBJDIR)\dbgcalls.obj \
     41#$(OBJDIR)\dbgcalls.obj \
    4242$(OBJDIR)\dir.obj \
    4343$(OBJDIR)\environ.obj \
     
    6666LIBS = \
    6767$(ODIN32_LIB_)\EmxSupport\EMXOS2FSRoutines.lib \
    68 $(EMX)\lib\iberty_s.lib \
    69 $(EMX)\lib\gcc-lib\i386-pc-os2-emx\3.2.1\mt\stdcxx.lib \
    70 $(EMX)\lib\c_alias.lib \
    71 $(EMX)\lib\gcc-lib\i386-pc-os2-emx\3.2.1\mt\gcc_eh.lib \
    72 $(EMX)\lib\gcc-lib\i386-pc-os2-emx\3.2.1\mt\gcc.lib \
    73 $(EMX)\lib\mt\c.lib \
    74 $(EMX)\lib\mt\c_dllso.lib \
    75 $(EMX)\lib\mt\sys.lib \
    76 $(EMX)\lib\os2.lib \
     68$(ODIN32_LIB_)\EmxSupport\ExCROS2Calls.lib \
    7769$(ODIN32_LIB_)\EmxSupport\ExCRuntime.lib \
    7870$(ODIN32_LIB_)\EmxSupport\ExDllSupport.lib \
     71$(ODIN32_LIB_)\EmxSupport\GCCBuiltins.lib \
    7972$(ODIN32_LIB_)\EmxSupport\m.lib \
    8073$(ODIN32_LIB)\kernel32.lib \
    8174$(ODIN32_LIB)\ntdll.lib \
    82 $(ODIN32_LIB)\user32.lib 
     75$(ODIN32_LIB)\user32.lib
    8376
    8477#
  • trunk/src/msvcrt/time.c

    r10005 r21395  
    107107}
    108108
     109clock_t emx__times(struct tms *) __asm__("emx__times");
     110
    109111/*********************************************************************
    110112 *              clock (MSVCRT.@)
Note: See TracChangeset for help on using the changeset viewer.