Go to the source code of this file.
◆ __acrt_initialize_lowio()
Definition at line 224 of file ioinit.cpp.
225{
229 {
230
233
234
236
237
240 }
242 {
244 }
246
248}
void __cdecl __acrt_unlock(_In_ __acrt_lock_id lock)
@ __acrt_lowio_index_lock
_Check_return_opt_ errno_t __cdecl __acrt_lowio_ensure_fh_exists(_In_ int _FileHandle)
__acrt_lock(__acrt_heap_lock)
static void initialize_stdio_handles_nolock()
static void __cdecl initialize_inherited_file_handles_nolock()
◆ __acrt_uninitialize_lowio()
Definition at line 254 of file ioinit.cpp.
255{
257 {
259 continue;
260
263 }
264
265 return true;
266}
void __cdecl __acrt_lowio_destroy_handle_array(_Pre_maybenull_ _Post_invalid_ _In_reads_opt_(IOINFO_ARRAY_ELTS) __crt_lowio_handle_data *_Array)
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
__crt_lowio_handle_data * __pioinfo[IOINFO_ARRAYS]
◆ get_std_handle_id()
◆ initialize_inherited_file_handles_nolock()
static void __cdecl initialize_inherited_file_handles_nolock |
( |
| ) |
|
throw | ( | |
| ) | | |
|
static |
Definition at line 59 of file ioinit.cpp.
60{
63
64
65
67 return;
68
69
71
72
74 reinterpret_cast<unsigned char*
>(startup_info.
lpReserved2) +
sizeof(
int);
75
78
79
80 int handles_to_inherit = handle_count <
_NHANDLE_
81 ? handle_count
83
84
85
89
90
93
94 for (int fh = 0; fh != handles_to_inherit; ++fh, ++it_file, ++it_handle)
95 {
96 HANDLE const real_handle =
reinterpret_cast<HANDLE>(*it_handle);
97
98
99
101 continue;
102
104 continue;
105
106 if ((*it_file &
FOPEN) == 0)
107 continue;
108
109
110
112 continue;
113
114
118 }
119}
#define INVALID_HANDLE_VALUE
DWORD WINAPI GetFileType(HANDLE hFile)
VOID WINAPI GetStartupInfoW(IN LPSTARTUPINFOW lpStartupInfo)
static struct file_entry * first_file
#define _NO_CONSOLE_FILENO
#define FILE_TYPE_UNKNOWN
Referenced by __acrt_initialize_lowio().
◆ initialize_stdio_handles_nolock()
static void initialize_stdio_handles_nolock |
( |
| ) |
|
throw | ( | |
| ) | | |
|
static |
Definition at line 123 of file ioinit.cpp.
124{
126 {
128
129
130
133 {
135 continue;
136 }
137
138
139
141
142
143
145
148 os_handle !=
reinterpret_cast<intptr_t>(
nullptr);
149
153
154
156 {
157
158
159
160
162
165
168 }
169 else
170 {
171
172
173
174
175
176
179
180
181
184 }
185 }
186}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define STDIO_HANDLES_COUNT
__crt_stdio_stream_data ** __piob
BOOL is_valid_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType)
static DWORD __cdecl get_std_handle_id(int const fh)
Referenced by __acrt_initialize_lowio().
◆ __badioinfo
◆ __pioinfo
◆ _nhandle
Definition at line 34 of file ioinit.cpp.
Referenced by __acrt_lowio_ensure_fh_exists(), __acrt_lowio_set_os_handle(), _alloc_osfhnd(), _chsize_s_internal(), _close_internal(), _commit(), _dup2_internal(), _dup_internal(), _eof(), _free_osfhnd(), _get_osfhandle(), _isatty(), _locking(), _read(), _read_nolock(), _setmode(), _Success_(), _write_internal(), accumulate_inheritable_handles(), common_fdopen(), common_fstat(), common_futime(), common_lseek(), and initialize_inherited_file_handles_nolock().