int __cdecl tolower(int);
int __cdecl toupper(int);
+int __cdecl _isctype (int, int);
+
clock_t __cdecl clock (void);
time_t __cdecl time (time_t*);
double __cdecl difftime (time_t, time_t);
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);
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);
+double __cdecl _CIpow(void);
+
// msvcrt
unsigned long __cdecl _beginthread (void (__cdecl *)(void *), unsigned, void*);
-void __cdecl _endthread (void);
+DECLSPEC_NORETURN void __cdecl _endthread (void);
unsigned long __cdecl _beginthreadex (void *, unsigned int, unsigned int (__stdcall *) (void *), void*, unsigned int, unsigned int*);
-// DECLSPEC_NORETURN
-void __cdecl _endthreadex (unsigned int);
+DECLSPEC_NORETURN void __cdecl _endthreadex (unsigned int);
+
+__int64 __cdecl _atoi64(const char *);
+char* __cdecl _i64toa(__int64, char *, int);
+char* __cdecl _ui64toa(unsigned __int64, char *, int);
+
+void __cdecl _lock(int locknum);
+void __cdecl _unlock(int locknum);
+size_t __cdecl strncnt(const char*, size_t);
+void * __cdecl _getptd(void);