From: notaz Date: Sun, 15 Mar 2015 18:47:37 +0000 (+0200) Subject: stdc: more funcs for d1ui X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b85c127a169c9dd21fc9146ee7177830a994e0;p=ia32rtools.git stdc: more funcs for d1ui --- diff --git a/stdc.hlist b/stdc.hlist index 1ce058e..83a5d25 100644 --- a/stdc.hlist +++ b/stdc.hlist @@ -181,6 +181,22 @@ int __cdecl vfprintf (FILE*, const char*, __VALIST); int __cdecl vprintf (const char*, __VALIST); int __cdecl vsprintf (char*, const char*, __VALIST); +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); int __cdecl _ismbcdigit (unsigned int); @@ -241,3 +257,10 @@ int __cdecl __snprintf (char *, unsigned int, const char*, ...); void* __cdecl memcpy_0 (void*, const void*, size_t); +// msvcrt +unsigned long __cdecl _beginthread (void (__cdecl *)(void *), unsigned, void*); +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); + diff --git a/stdc.list b/stdc.list index 192f97b..a3628f6 100644 --- a/stdc.list +++ b/stdc.list @@ -59,6 +59,8 @@ _fseek _fgetc __filbuf __mbsicmp +__beginthread +__endthread __beginthreadex __endthreadex __onexit @@ -76,6 +78,7 @@ _wcslen _wcstombs _setlocale __setmbcp +__getmbcp __lseek __write __isatty diff --git a/win32.hlist b/win32.hlist index eeb5311..40e1515 100644 --- a/win32.hlist +++ b/win32.hlist @@ -1822,10 +1822,6 @@ DWORD WINAPI lineUnhold(HCALL); DWORD WINAPI lineUnparkA(HLINE,DWORD,LPHCALL,LPCSTR); -unsigned long __cdecl _beginthreadex (void *, unsigned int, unsigned int (__stdcall *) (void *), void*, unsigned int, unsigned int*); -// DECLSPEC_NORETURN -void __cdecl _endthreadex (unsigned int); - // sctproto: int (__stdcall *Direct*Create)(void *, void *, void *) // 08 sctproto: int (WINAPI *dx_Release)(void *iface) // IDirectDraw