Commit 8cc5b07e authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

ucrtbase: Implement _get_stream_buffer_pointers.

parent 41f7f19c
...@@ -55,7 +55,7 @@ ...@@ -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) ...@@ -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 @@ ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment