ucrtbase: Implement _get_stream_buffer_pointers.
Signed-off-by: Martin Storsjo <martin@martin.st> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
41f7f19cb5
commit
8cc5b07e9d
|
@ -55,7 +55,7 @@
|
||||||
@ cdecl _get_fmode(ptr) ucrtbase._get_fmode
|
@ cdecl _get_fmode(ptr) ucrtbase._get_fmode
|
||||||
@ cdecl _get_osfhandle(long) ucrtbase._get_osfhandle
|
@ cdecl _get_osfhandle(long) ucrtbase._get_osfhandle
|
||||||
@ cdecl _get_printf_count_output() ucrtbase._get_printf_count_output
|
@ cdecl _get_printf_count_output() ucrtbase._get_printf_count_output
|
||||||
@ stub _get_stream_buffer_pointers
|
@ cdecl _get_stream_buffer_pointers(ptr ptr ptr ptr) ucrtbase._get_stream_buffer_pointers
|
||||||
@ cdecl _getc_nolock(ptr) ucrtbase._getc_nolock
|
@ cdecl _getc_nolock(ptr) ucrtbase._getc_nolock
|
||||||
@ cdecl _getcwd(str long) ucrtbase._getcwd
|
@ cdecl _getcwd(str long) ucrtbase._getcwd
|
||||||
@ cdecl _getdcwd(long str long) ucrtbase._getdcwd
|
@ cdecl _getdcwd(long str long) ucrtbase._getdcwd
|
||||||
|
|
|
@ -5303,3 +5303,18 @@ int CDECL MSVCRT__setmaxstdio(int newmax)
|
||||||
MSVCRT_max_streams = newmax;
|
MSVCRT_max_streams = newmax;
|
||||||
return MSVCRT_max_streams;
|
return MSVCRT_max_streams;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* _get_stream_buffer_pointers (UCRTBASE.@)
|
||||||
|
*/
|
||||||
|
int CDECL MSVCRT__get_stream_buffer_pointers(MSVCRT_FILE *file, char*** base,
|
||||||
|
char*** ptr, int** count)
|
||||||
|
{
|
||||||
|
if (base)
|
||||||
|
*base = &file->_base;
|
||||||
|
if (ptr)
|
||||||
|
*ptr = &file->_ptr;
|
||||||
|
if (count)
|
||||||
|
*count = &file->_cnt;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -373,7 +373,7 @@
|
||||||
@ cdecl _get_pgmptr(ptr)
|
@ cdecl _get_pgmptr(ptr)
|
||||||
@ cdecl _get_printf_count_output() MSVCRT__get_printf_count_output
|
@ cdecl _get_printf_count_output() MSVCRT__get_printf_count_output
|
||||||
@ stub _get_purecall_handler
|
@ stub _get_purecall_handler
|
||||||
@ stub _get_stream_buffer_pointers
|
@ cdecl _get_stream_buffer_pointers(ptr ptr ptr ptr) MSVCRT__get_stream_buffer_pointers
|
||||||
@ cdecl _get_terminate() MSVCRT__get_terminate
|
@ cdecl _get_terminate() MSVCRT__get_terminate
|
||||||
@ stub _get_thread_local_invalid_parameter_handler
|
@ stub _get_thread_local_invalid_parameter_handler
|
||||||
@ cdecl _get_timezone(ptr)
|
@ cdecl _get_timezone(ptr)
|
||||||
|
|
Loading…
Reference in New Issue