Changeset 2844 for trunk/src


Ignore:
Timestamp:
Feb 21, 2000, 11:34:02 AM (26 years ago)
Author:
sandervl
Message:

JW: Replaced some stubs

Location:
trunk/src/crtdll
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/crt_string.cpp

    r2618 r2844  
    1 /* $Id: crt_string.cpp,v 1.1 2000-02-03 21:37:48 sandervl Exp $ */
     1/* $Id: crt_string.cpp,v 1.2 2000-02-21 10:34:01 sandervl Exp $ */
    22
    33/*
     
    6868
    6969/*********************************************************************
     70 *           _strerror           (CRTDLL.284)
     71 */
     72char * CDECL CRTDLL__strerror(const char *s)
     73{
     74  dprintf(("CRTDLL: _strerror\n"));
     75  return (_strerror((char*)s));
     76}
     77
     78
     79/*********************************************************************
    7080 *           _stricmp    (CRTDLL.285)
    7181 */
     
    131141    return( (i>l) ? l : i );
    132142}
     143
    133144
    134145/*********************************************************************
  • trunk/src/crtdll/crtdll.cpp

    r2618 r2844  
    1 /* $Id: crtdll.cpp,v 1.22 2000-02-03 21:37:48 sandervl Exp $ */
     1/* $Id: crtdll.cpp,v 1.23 2000-02-21 10:34:01 sandervl Exp $ */
    22
    33/*
     
    4545#include <errno.h>
    4646#include <sys\utime.h>
     47#include <sys\timeb.h>
    4748#include <sys\stat.h>
    4849#include "signal.h"
     
    981982
    982983/*********************************************************************
     984 *      _fpreset                                (CRTDLL.107)
     985 */
     986void CDECL CRTDLL__fpreset(void)
     987{
     988  dprintf(("CRTDLL: _fpreset\n"));
     989  _fpreset();
     990}
     991
     992
     993/*********************************************************************
    983994 *                  _fputchar     (CRTDLL.108)
    984995 */
     
    987998  dprintf2(("CRTDLL: _fputchar\n"));
    988999  return(_fputchar(c));
     1000}
     1001
     1002
     1003/*********************************************************************
     1004 *      _fstat                                  (CRTDLL.111)
     1005 */
     1006int CDECL CRTDLL__fstat(int file, struct stat* buf)
     1007{
     1008  dprintf(("CRTDLL: _fstat\n"));
     1009  return (_fstat(file, buf));
     1010}
     1011
     1012
     1013/*********************************************************************
     1014 *      _ftime                                  (CRTDLL.112)
     1015 */
     1016void CDECL CRTDLL__ftime( struct timeb *timebuf )
     1017{
     1018  dprintf(("CRTDLL: _ftime\n"));
     1019  _ftime(timebuf);
    9891020}
    9901021
     
    16801711
    16811712/*********************************************************************
     1713 *      _sopen                                  (CRTDLL.268)
     1714 */
     1715int CDECL CRTDLL__sopen( const char *s, int i1, int i2, va_list arg )
     1716{
     1717  dprintf(("CRTDLL: _sopen\n"));
     1718  return (_sopen(s, i1, i2, arg));
     1719}
     1720
     1721
     1722/*********************************************************************
    16821723 *           CRTDLL__spawnl      (CRTDLL.269)
    16831724 */
     
    30993140
    31003141/*********************************************************************
     3142 *      ungetc                                  (CRTDLL.492)
     3143 */
     3144INT CDECL CRTDLL_ungetc(int c, FILE *f)
     3145{
     3146  dprintf(("CRTDLL: ungetc\n"));
     3147  return (ungetc(c, f));
     3148}
     3149
     3150
     3151/*********************************************************************
    31013152 *                  vfprintf       (CRTDLL.494)
    31023153 */
  • trunk/src/crtdll/stubs.cpp

    r2618 r2844  
    1 /* $Id: stubs.cpp,v 1.1 2000-02-03 21:37:50 sandervl Exp $ */
     1/* $Id: stubs.cpp,v 1.2 2000-02-21 10:34:02 sandervl Exp $ */
    22
    33/*
     
    6969
    7070/*********************************************************************
    71  *           CRTDLL__chgsign     (CRTDLL.53)
     71 *           _chgsign    (CRTDLL.53)
    7272 */
    7373double CDECL CRTDLL__chgsign(double x)
     
    8080
    8181/*********************************************************************
    82  *                  CRTDLL__commit    (CRTDLL.58)
     82 *                  _commit    (CRTDLL.58)
    8383 */
    8484int CDECL CRTDLL__commit( int fd )
     
    9191
    9292/*********************************************************************
    93  *                  CRTDLL__copysign    (CRTDLL.62)
     93 *                  _copysign    (CRTDLL.62)
    9494 */
    9595double CDECL CRTDLL__copysign( double d, double s )
     
    201201
    202202/*********************************************************************
    203  *      _fpreset                                (CRTDLL.107)
    204  */
    205 void CDECL CRTDLL__fpreset(void)
    206 {
    207   dprintf(("CRTDLL: _fpreset not implemented.\n"));
    208   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    209 }
    210 
    211 
    212 /*********************************************************************
    213203 *      _fputwchar                              (CRTDLL.109)
    214204 */
     
    227217{
    228218  dprintf(("CRTDLL: _fsopen not implemented.\n"));
    229   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    230   return FALSE;
    231 }
    232 
    233 
    234 /*********************************************************************
    235  *      _fstat                                  (CRTDLL.111)
    236  */
    237 int 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  */
    248 int CDECL CRTDLL__ftime( struct timeb *timebuf )
    249 {
    250   dprintf(("CRTDLL: _ftime not implemented.\n"));
    251219  SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
    252220  return FALSE;
     
    11641132
    11651133/*********************************************************************
    1166  *      _sopen                                  (CRTDLL.268)
    1167  */
    1168 int 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  */
    1179 char * 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 /*********************************************************************
    11881134 *      _tzset                                  (CRTDLL.308)
    11891135 */
     
    12731219
    12741220/*********************************************************************
    1275  *      ungetc                                  (CRTDLL.492)
    1276  */
    1277 INT 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 /*********************************************************************
    12861221 *      vfwprintf                               (CRTDLL.495)
    12871222 */
Note: See TracChangeset for help on using the changeset viewer.