From: notaz Date: Sat, 21 Mar 2015 00:51:13 +0000 (+0200) Subject: stdc: some stuff for d1 (and some extra) X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3668fef370a8bf624cb6f5e65cdfb954b7e4353;p=ia32rtools.git stdc: some stuff for d1 (and some extra) --- diff --git a/stdc.hlist b/stdc.hlist index fd6d14e..b27b502 100644 --- a/stdc.hlist +++ b/stdc.hlist @@ -181,6 +181,18 @@ int __cdecl vfprintf (FILE*, const char*, __VALIST); int __cdecl vprintf (const char*, __VALIST); int __cdecl vsprintf (char*, const char*, __VALIST); +long __cdecl _findfirst (const char*, struct _finddata_t*); +int __cdecl _findnext (long, struct _finddata_t*); +int __cdecl _findclose (long); +int __cdecl _chdir (const char*); +char* __cdecl _getcwd (char*, int); +int __cdecl _mkdir (const char*); +char* __cdecl _mktemp (char*); +int __cdecl _rmdir (const char*); +int __cdecl _chmod (const char*, int); +int __cdecl remove (const char*); +int __cdecl rename (const char*, const char*); + int __cdecl _setmbcp (int); int __cdecl _getmbcp (void); int __cdecl _ismbbalpha (unsigned int); @@ -257,6 +269,14 @@ int __cdecl __snprintf (char *, unsigned int, const char*, ...); void* __cdecl memcpy_0 (void*, const void*, size_t); +// msvcrt math +double __cdecl ceil(double x); +double __cdecl floor(double x); +double __cdecl sqrt(double x); +double __cdecl pow(double x, double y); +unsigned int __cdecl _rotl(unsigned int num, int shift); +unsigned int __cdecl _rotr(unsigned int num, int shift); + // msvcrt unsigned long __cdecl _beginthread (void (__cdecl *)(void *), unsigned, void*); void __cdecl _endthread (void); diff --git a/stdc.list b/stdc.list index fafcf11..4dd21c4 100644 --- a/stdc.list +++ b/stdc.list @@ -95,13 +95,30 @@ _atoi _abs _labs +__findfirst +__findnext +__findclose +__chdir +__getcwd +__mkdir +__mktemp +__rmdir +__chmod +_remove +_rename + # float __control87 __controlfp -# math -# __ftol2 - todo +# msvcrt math +# __ftol - x87 state +# __ftol2 - x87 state _ceil +_sqrt +_pow +__rotl +__rotr # msvcrt __beginthread