#include <stdarg.h>
#include <signal.h>
#include "windef.h"
#include "winbase.h"
Go to the source code of this file.
|
| void __cdecl | _purecall (void) |
| |
| | __declspec (noreturn) void __cdecl _amsg_exit(int errnum) |
| |
| char ** | SnapshotOfEnvironmentA (char **) |
| |
| wchar_t ** | SnapshotOfEnvironmentW (wchar_t **) |
| |
| void *__cdecl | MSVCRT_operator_new (size_t) |
| |
| void __cdecl | MSVCRT_operator_delete (void *) |
| |
| void | msvcrt_init_mt_locks (void) |
| |
| void | msvcrt_free_mt_locks (void) |
| |
| BOOL | msvcrt_init_locale (void) |
| |
| void | msvcrt_init_math (void) |
| |
| void | msvcrt_init_io (void) |
| |
| void | msvcrt_free_io (void) |
| |
| void | msvcrt_init_console (void) |
| |
| void | msvcrt_free_console (void) |
| |
| void | msvcrt_init_args (void) |
| |
| void | msvcrt_free_args (void) |
| |
| void | msvcrt_init_signals (void) |
| |
| void | msvcrt_free_signals (void) |
| |
| void | msvcrt_free_popen_data (void) |
| |
| unsigned | create_io_inherit_block (WORD *, BYTE **) |
| |
| char *__cdecl | __unDName (char *, const char *, int, malloc_func_t, free_func_t, unsigned short int) |
| |
| void | _default_handler (int signal) |
| |
| char * | _setlocale (int, const char *) |
| |
| NTSYSAPI VOID NTAPI | RtlAssert (PVOID FailedAssertion, PVOID FileName, ULONG LineNumber, PCHAR Message) |
| |
◆ _CONSOLE_APP
◆ _GUI_APP
◆ _IOAPPEND
◆ _IOCOMMIT
◆ _IOCTRLZ
◆ _IOFEOF
◆ _IOFLRTN
◆ _IOFREE
◆ _IOSETVBUF
◆ _IOYOURBUF
◆ _UNKNOWN_APP
◆ MSVCRT__CALL_REPORTFAULT
| #define MSVCRT__CALL_REPORTFAULT 2 |
◆ MSVCRT__OUT_TO_DEFAULT
| #define MSVCRT__OUT_TO_DEFAULT 0 |
◆ MSVCRT__OUT_TO_MSGBOX
| #define MSVCRT__OUT_TO_MSGBOX 2 |
◆ MSVCRT__OUT_TO_STDERR
| #define MSVCRT__OUT_TO_STDERR 1 |
◆ MSVCRT__REPORT_ERRMODE
| #define MSVCRT__REPORT_ERRMODE 3 |
◆ MSVCRT__WRITE_ABORT_MSG
| #define MSVCRT__WRITE_ABORT_MSG 1 |
◆ MSVCRT_free
◆ MSVCRT_LC_ALL
◆ MSVCRT_LC_COLLATE
◆ MSVCRT_LC_CTYPE
◆ MSVCRT_LC_MAX
◆ MSVCRT_LC_MIN
◆ MSVCRT_LC_MONETARY
◆ MSVCRT_LC_NUMERIC
◆ MSVCRT_LC_TIME
◆ MSVCRT_malloc
◆ UNDNAME_32_BIT_DECODE
| #define UNDNAME_32_BIT_DECODE (0x0800) |
◆ UNDNAME_COMPLETE
| #define UNDNAME_COMPLETE (0x0000) |
◆ UNDNAME_NAME_ONLY
◆ UNDNAME_NO_ACCESS_SPECIFIERS
◆ UNDNAME_NO_ALLOCATION_LANGUAGE
| #define UNDNAME_NO_ALLOCATION_LANGUAGE (0x0010) |
◆ UNDNAME_NO_ALLOCATION_MODEL
| #define UNDNAME_NO_ALLOCATION_MODEL (0x0008) |
◆ UNDNAME_NO_ARGUMENTS
| #define UNDNAME_NO_ARGUMENTS (0x2000) /* Don't show method arguments */ |
◆ UNDNAME_NO_COMPLEX_TYPE
| #define UNDNAME_NO_COMPLEX_TYPE (0x8000) |
◆ UNDNAME_NO_CV_THISTYPE
| #define UNDNAME_NO_CV_THISTYPE (0x0040) |
◆ UNDNAME_NO_FUNCTION_RETURNS
◆ UNDNAME_NO_LEADING_UNDERSCORES
| #define UNDNAME_NO_LEADING_UNDERSCORES (0x0001) /* Don't show __ in calling convention */ |
◆ UNDNAME_NO_MEMBER_TYPE
| #define UNDNAME_NO_MEMBER_TYPE (0x0200) /* Don't show static/virtual specifier */ |
◆ UNDNAME_NO_MS_KEYWORDS
| #define UNDNAME_NO_MS_KEYWORDS (0x0002) /* Don't show calling convention at all */ |
◆ UNDNAME_NO_MS_THISTYPE
| #define UNDNAME_NO_MS_THISTYPE (0x0020) |
◆ UNDNAME_NO_RETURN_UDT_MODEL
| #define UNDNAME_NO_RETURN_UDT_MODEL (0x0400) |
◆ UNDNAME_NO_SPECIAL_SYMS
| #define UNDNAME_NO_SPECIAL_SYMS (0x4000) |
◆ UNDNAME_NO_THISTYPE
| #define UNDNAME_NO_THISTYPE (0x0060) |
◆ UNDNAME_NO_THROW_SIGNATURES
| #define UNDNAME_NO_THROW_SIGNATURES (0x0100) |
◆ float_handler
◆ free_func_t
◆ malloc_func_t
◆ sig_element
◆ __declspec()
◆ __unDName()
Definition at line 1783 of file undname.c.
1786{
1788}
char *CDECL __unDNameEx(char *buffer, const char *mangled, int buflen, malloc_func_t memget, free_func_t memfree, void *unknown, unsigned short int flags)
◆ _default_handler()
| void _default_handler |
( |
int |
signal | ) |
|
Definition at line 120 of file signal.c.
121{
123}
void CDECL _exit(int exitcode)
Referenced by raise().
◆ _purecall()
Definition at line 494 of file exit.c.
495{
497
501}
static _purecall_handler purecall_handler
void CDECL _amsg_exit(int errnum)
◆ _setlocale()
◆ create_io_inherit_block()
Definition at line 411 of file file.c.
412{
414 char* wxflag_ptr;
417
420 break;
421 last_fd++;
422
426 {
429 }
430 wxflag_ptr = (
char*)*
block +
sizeof(
unsigned);
431 handle_ptr = (
HANDLE*)(wxflag_ptr + last_fd);
432
433 *(
unsigned*)*
block = last_fd;
434 for (
fd = 0;
fd < last_fd;
fd++)
435 {
436
439 {
440 *wxflag_ptr = fdinfo->
wxflag;
441 *handle_ptr = fdinfo->
handle;
442 }
443 else
444 {
445 *wxflag_ptr = 0;
447 }
448 wxflag_ptr++; handle_ptr++;
449 }
451}
#define INVALID_HANDLE_VALUE
static ioinfo * get_ioinfo_nolock(int fd)
static unsigned(__cdecl *hash_bstr)(bstr_t s)
static unsigned int block
◆ msvcrt_free_args()
Definition at line 462 of file data.c.
463{
464
469}
#define HeapFree(x, y, z)
static wchar_t ** wargv_expand
◆ msvcrt_free_console()
Definition at line 68 of file console.c.
69{
70 TRACE(
":Closing console handles\n");
73}
static HANDLE MSVCRT_console_out
static HANDLE MSVCRT_console_in
◆ msvcrt_free_io()
Definition at line 1392 of file file.c.
1393{
1396
1399
1401 {
1403 continue;
1404
1406 {
1409 }
1411 }
1412
1414 {
1417
1419 {
1420 cs->DebugInfo->Spare[0] = 0;
1422 }
1423 }
1424
1427}
static file_crit * MSVCRT_fstream[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE]
ioinfo * MSVCRT___pioinfo[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE]
static BOOL ioinfo_is_crit_init(ioinfo *info)
int CDECL _fcloseall(void)
static FILE * msvcrt_get_file(int i)
static CRITICAL_SECTION * file_get_cs(FILE *f)
int CDECL _flushall(void)
#define MSVCRT_FD_BLOCK_SIZE
static int MSVCRT_stream_idx
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
◆ msvcrt_free_mt_locks()
Definition at line 77 of file lock.c.
78{
80
81 TRACE(
": uninitializing all mtlocks\n" );
82
83
85 {
87 {
89 }
90 }
91}
static LOCKTABLEENTRY lock_table[_TOTAL_LOCKS]
static void msvcrt_uninitialize_mlock(int locknum)
◆ msvcrt_free_popen_data()
Definition at line 1034 of file process.c.
1035{
1037}
static struct popen_handle * popen_handles
◆ msvcrt_free_signals()
Definition at line 640 of file except.c.
641{
643}
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, BOOL Add)
static BOOL WINAPI msvcrt_console_handler(DWORD ctrlType)
◆ msvcrt_init_args()
Definition at line 404 of file data.c.
405{
407
414
417
425 TRACE(
"winver %08x winmajor %08x winminor %08x osver %08x\n",
427#ifdef _CRTDLL
431#endif
432
436#ifndef __REACTOS__
438#endif
439
441
444 {
447 else
449 }
450
453 {
456 else
458 }
459}
unsigned int CRTDLL__baseminor_dll
unsigned int CRTDLL__basemajor_dll
unsigned int CRTDLL__baseversion_dll
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
BOOL WINAPI GetVersionExW(IN LPOSVERSIONINFOW lpVersionInformation)
LPWSTR WINAPI GetCommandLineW(void)
LPSTR WINAPI GetCommandLineA(void)
DWORD WINAPI GetVersion(void)
unsigned int MSVCRT__winmajor
wchar_t ** MSVCRT___wargv
unsigned int MSVCRT__osplatform
unsigned int MSVCRT___unguarded_readlc_active
unsigned int MSVCRT___setlc_active
unsigned int MSVCRT__osver
static char ** build_argv(WCHAR **wargv)
static WCHAR ** cmdline_to_argv(const WCHAR *src, int *ret_argc)
unsigned int MSVCRT__winminor
static WCHAR ** initial_wargv
unsigned int MSVCRT__winver
int env_init(BOOL unicode, BOOL modif)
_ACRTIMP wchar_t *__cdecl _wcsdup(const wchar_t *) __WINE_DEALLOC(free) __WINE_MALLOC
ULONG dwOSVersionInfoSize
struct _OSVERSIONINFOW OSVERSIONINFOW
◆ msvcrt_init_console()
◆ msvcrt_init_io()
Definition at line 720 of file file.c.
721{
725
728 {
732
736
740 {
742 {
747 }
748
749 wxflag_ptr++; handle_ptr++;
750 }
751 }
752
758
766 }
767
769 }
771
777
785 }
786
788 }
790
796
804 }
805
807 }
809
813
814 for (
i = 0;
i < 3;
i++)
815 {
818
819
824
826 {
828 cs->DebugInfo->Spare[0] = (
DWORD_PTR)(__FILE__
": file_crit.crit");
829 }
830 }
832}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
DWORD WINAPI GetFileType(HANDLE hFile)
VOID WINAPI GetStartupInfoA(IN LPSTARTUPINFOA lpStartupInfo)
BOOL WINAPI InitializeCriticalSectionEx(OUT LPCRITICAL_SECTION lpCriticalSection, IN DWORD dwSpinCount, IN DWORD flags)
static ioinfo * get_ioinfo_alloc_fd(int fd)
ioinfo MSVCRT___badioinfo
static void msvcrt_set_fd(ioinfo *fdinfo, HANDLE hand, int flag)
static FILE * iob_get_file(int i)
static void release_ioinfo(ioinfo *info)
#define MSVCRT_NO_CONSOLE_FD
#define MSVCRT_NO_CONSOLE
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLfloat GLfloat GLfloat GLfloat h
#define STD_OUTPUT_HANDLE
#define FILE_TYPE_UNKNOWN
#define RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
◆ msvcrt_init_locale()
Definition at line 2151 of file locale.c.
2152{
2154
2160
2169}
_ACRTIMP int __cdecl _setmbcp(int)
unsigned short * MSVCRT__pctype
int MSVCRT___lc_collate_cp
unsigned int MSVCRT___lc_codepage
void CDECL _lock_locales(void)
_locale_t CDECL _create_locale(int category, const char *locale)
LCID MSVCRT___lc_handle[LC_MAX - LC_MIN+1]
void CDECL _unlock_locales(void)
unsigned int lc_collate_cp
__msvcrt_ulong lc_handle[6]
◆ msvcrt_init_math()
◆ msvcrt_init_mt_locks()
Definition at line 66 of file lock.c.
67{
69
70 TRACE(
"initializing mtlocks\n" );
71
72
74 {
76 }
77
78
80}
static void msvcrt_mlock_set_entry_initialized(int locknum, BOOL initialized)
static void msvcrt_initialize_mlock(int locknum)
◆ msvcrt_init_signals()
◆ MSVCRT_operator_delete()
◆ MSVCRT_operator_new()
- FIXME: This should be declared in new.h but it's not an extern "C" so
◆ RtlAssert()
◆ SnapshotOfEnvironmentA()
| char ** SnapshotOfEnvironmentA |
( |
char ** |
| ) |
|
◆ SnapshotOfEnvironmentW()
◆ __lc_codepage
◆ __lc_collate_cp
◆ __mb_cur_max
◆ _ctype
◆ _environ
◆ _wenviron