- Timestamp:
- Feb 21, 2000, 11:34:02 AM (26 years ago)
- 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:48sandervl Exp $ */1 /* $Id: crt_string.cpp,v 1.2 2000-02-21 10:34:01 sandervl Exp $ */ 2 2 3 3 /* … … 68 68 69 69 /********************************************************************* 70 * _strerror (CRTDLL.284) 71 */ 72 char * CDECL CRTDLL__strerror(const char *s) 73 { 74 dprintf(("CRTDLL: _strerror\n")); 75 return (_strerror((char*)s)); 76 } 77 78 79 /********************************************************************* 70 80 * _stricmp (CRTDLL.285) 71 81 */ … … 131 141 return( (i>l) ? l : i ); 132 142 } 143 133 144 134 145 /********************************************************************* -
trunk/src/crtdll/crtdll.cpp
r2618 r2844 1 /* $Id: crtdll.cpp,v 1.2 2 2000-02-03 21:37:48sandervl Exp $ */1 /* $Id: crtdll.cpp,v 1.23 2000-02-21 10:34:01 sandervl Exp $ */ 2 2 3 3 /* … … 45 45 #include <errno.h> 46 46 #include <sys\utime.h> 47 #include <sys\timeb.h> 47 48 #include <sys\stat.h> 48 49 #include "signal.h" … … 981 982 982 983 /********************************************************************* 984 * _fpreset (CRTDLL.107) 985 */ 986 void CDECL CRTDLL__fpreset(void) 987 { 988 dprintf(("CRTDLL: _fpreset\n")); 989 _fpreset(); 990 } 991 992 993 /********************************************************************* 983 994 * _fputchar (CRTDLL.108) 984 995 */ … … 987 998 dprintf2(("CRTDLL: _fputchar\n")); 988 999 return(_fputchar(c)); 1000 } 1001 1002 1003 /********************************************************************* 1004 * _fstat (CRTDLL.111) 1005 */ 1006 int 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 */ 1016 void CDECL CRTDLL__ftime( struct timeb *timebuf ) 1017 { 1018 dprintf(("CRTDLL: _ftime\n")); 1019 _ftime(timebuf); 989 1020 } 990 1021 … … 1680 1711 1681 1712 /********************************************************************* 1713 * _sopen (CRTDLL.268) 1714 */ 1715 int 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 /********************************************************************* 1682 1723 * CRTDLL__spawnl (CRTDLL.269) 1683 1724 */ … … 3099 3140 3100 3141 /********************************************************************* 3142 * ungetc (CRTDLL.492) 3143 */ 3144 INT CDECL CRTDLL_ungetc(int c, FILE *f) 3145 { 3146 dprintf(("CRTDLL: ungetc\n")); 3147 return (ungetc(c, f)); 3148 } 3149 3150 3151 /********************************************************************* 3101 3152 * vfprintf (CRTDLL.494) 3102 3153 */ -
trunk/src/crtdll/stubs.cpp
r2618 r2844 1 /* $Id: stubs.cpp,v 1. 1 2000-02-03 21:37:50sandervl Exp $ */1 /* $Id: stubs.cpp,v 1.2 2000-02-21 10:34:02 sandervl Exp $ */ 2 2 3 3 /* … … 69 69 70 70 /********************************************************************* 71 * CRTDLL__chgsign (CRTDLL.53)71 * _chgsign (CRTDLL.53) 72 72 */ 73 73 double CDECL CRTDLL__chgsign(double x) … … 80 80 81 81 /********************************************************************* 82 * CRTDLL__commit (CRTDLL.58)82 * _commit (CRTDLL.58) 83 83 */ 84 84 int CDECL CRTDLL__commit( int fd ) … … 91 91 92 92 /********************************************************************* 93 * CRTDLL__copysign (CRTDLL.62)93 * _copysign (CRTDLL.62) 94 94 */ 95 95 double CDECL CRTDLL__copysign( double d, double s ) … … 201 201 202 202 /********************************************************************* 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 /*********************************************************************213 203 * _fputwchar (CRTDLL.109) 214 204 */ … … 227 217 { 228 218 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"));251 219 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 252 220 return FALSE; … … 1164 1132 1165 1133 /********************************************************************* 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 /*********************************************************************1188 1134 * _tzset (CRTDLL.308) 1189 1135 */ … … 1273 1219 1274 1220 /********************************************************************* 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 /*********************************************************************1286 1221 * vfwprintf (CRTDLL.495) 1287 1222 */
Note:
See TracChangeset
for help on using the changeset viewer.