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

JW: Added stubs

File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.