translate: few more ops and corner cases
[ia32rtools.git] / stdc.hlist
index 83a5d25..b27b502 100644 (file)
@@ -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);
@@ -264,3 +284,6 @@ unsigned long __cdecl _beginthreadex (void *, unsigned int, unsigned int (__stdc
 // DECLSPEC_NORETURN
 void __cdecl _endthreadex (unsigned int);
 
+void __cdecl _lock(int locknum);
+void __cdecl _unlock(int locknum);
+size_t __cdecl strncnt(const char*, size_t);