minor fixes
[ia32rtools.git] / stdc.hlist
index 2918656..8440d6e 100644 (file)
@@ -16,6 +16,21 @@ long __cdecl         labs    (long);
 long __cdecl   strtol  (const char*, char**, int);
 unsigned long __cdecl  strtoul (const char*, char**, int);
 
+int __cdecl    _putenv (const char*);
+void __cdecl   _searchenv (const char*, const char*, char*);
+char* __cdecl  _ecvt (double, int, int*, int*);
+char* __cdecl  _fcvt (double, int, int*, int*);
+char* __cdecl  _gcvt (double, int, char*);
+void __cdecl   _makepath (char*, const char*, const char*, const char*, const char*);
+void __cdecl   _splitpath (const char*, char*, char*, char*, char*);
+char* __cdecl  _fullpath (char*, const char*, size_t);
+char* __cdecl  _itoa (int, char*, int);
+char* __cdecl  _ltoa (long, char*, int);
+char* __cdecl   _ultoa(unsigned long, char*, int);
+wchar_t* __cdecl  _itow (int, wchar_t*, int);
+wchar_t* __cdecl  _ltow (long, wchar_t*, int);
+wchar_t* __cdecl  _ultow (unsigned long, wchar_t*, int);
+
 void* __cdecl  memchr (const void*, int, size_t);
 int __cdecl    memcmp (const void*, const void*, size_t);
 void* __cdecl          memcpy (void*, const void*, size_t);
@@ -57,6 +72,31 @@ char* __cdecl        _strset (char*, int);
 char* __cdecl  _strupr (char*);
 void __cdecl   _swab (const char*, char*, size_t);
 
+wchar_t* __cdecl wcscat (wchar_t*, const wchar_t*);
+wchar_t* __cdecl wcschr (const wchar_t*, wchar_t);
+int __cdecl    wcscmp (const wchar_t*, const wchar_t*);
+int __cdecl    wcscoll (const wchar_t*, const wchar_t*);
+wchar_t* __cdecl wcscpy (wchar_t*, const wchar_t*);
+size_t __cdecl wcscspn (const wchar_t*, const wchar_t*);
+size_t __cdecl wcslen (const wchar_t*);
+wchar_t* __cdecl wcsncat (wchar_t*, const wchar_t*, size_t);
+int __cdecl    wcsncmp(const wchar_t*, const wchar_t*, size_t);
+wchar_t* __cdecl wcsncpy(wchar_t*, const wchar_t*, size_t);
+wchar_t* __cdecl wcspbrk(const wchar_t*, const wchar_t*);
+wchar_t* __cdecl wcsrchr(const wchar_t*, wchar_t);
+size_t __cdecl wcsspn(const wchar_t*, const wchar_t*);
+wchar_t* __cdecl wcsstr(const wchar_t*, const wchar_t*);
+wchar_t* __cdecl wcstok(wchar_t*, const wchar_t*);
+size_t __cdecl wcsxfrm(wchar_t*, const wchar_t*, size_t);
+long __cdecl wcstol(const wchar_t*, wchar_t**, int);
+unsigned long __cdecl wcstoul(const wchar_t*, wchar_t**, int);
+double __cdecl wcstod(const wchar_t*, wchar_t**);
+size_t __cdecl wcstombs(char*, const wchar_t*, size_t);
+int __cdecl wctomb(char*, wchar_t);
+int __cdecl mblen(const char*, size_t);
+size_t __cdecl mbstowcs(wchar_t*, const char*, size_t);
+int __cdecl mbtowc(wchar_t*, const char*, size_t);
+
 wchar_t* __cdecl _wcsdup (const wchar_t*);
 int __cdecl _wcsicmp (const wchar_t*, const wchar_t*);
 int __cdecl _wcsicoll (const wchar_t*, const wchar_t*);
@@ -85,6 +125,8 @@ int __cdecl  isxdigit(int);
 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);
@@ -134,6 +176,40 @@ int __cdecl        getc (FILE*);
 int __cdecl    putc (int, FILE*);
 int __cdecl    getchar (void);
 int __cdecl    putchar (int);
+int __cdecl fprintf (FILE*, const char*, ...);
+int __cdecl printf (const char*, ...);
+int __cdecl sprintf (char*, const char*, ...);
+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);
+int __cdecl _ismbbalnum (unsigned int);
+int __cdecl _ismbbgraph (unsigned int);
+int __cdecl _ismbbprint (unsigned int);
+int __cdecl _ismbbpunct (unsigned int);
+int __cdecl _ismbbkana (unsigned int);
+int __cdecl _ismbbkalnum (unsigned int);
+int __cdecl _ismbbkprint (unsigned int);
+int __cdecl _ismbbkpunct (unsigned int);
+int __cdecl _ismbblead (unsigned int);
+int __cdecl _ismbbtrail (unsigned int);
+int __cdecl _ismbslead (const unsigned char*, const unsigned char*);
+int __cdecl _ismbstrail (const unsigned char*, const unsigned char*);
 
 int __cdecl _ismbcalnum (unsigned int);
 int __cdecl _ismbcalpha (unsigned int);
@@ -185,10 +261,37 @@ int __cdecl _mbsnicmp (const unsigned char*, const unsigned char*, size_t);
 int __cdecl _mbsnbcmp (const unsigned char*, const unsigned char*, size_t);
 int __cdecl _mbsnbicmp (const unsigned char*, const unsigned char*, size_t);
 
+char* __cdecl setlocale (int, const char*);
+
 void * __cdecl _onexit (int (__cdecl *)(void));
 
 void * __cdecl signal (int, void *);
 int __cdecl raise (int);
+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);
+double __cdecl _CIpow(void);
+
+// msvcrt
+unsigned long __cdecl _beginthread (void (__cdecl *)(void *), unsigned, 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);
+
+__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);