From a5e6c89dcf251e9ae475ab73c75c04cc3a239992 Mon Sep 17 00:00:00 2001 From: "Louis. Lenders" Date: Tue, 17 Oct 2006 23:34:02 +0100 Subject: [PATCH] msvcrt: Add stub for _getmaxstdio. --- dlls/msvcrt/file.c | 9 +++++++++ dlls/msvcrt/msvcrt.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 98c800c2bd..146e0f3127 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -3079,6 +3079,15 @@ int CDECL MSVCRT_wprintf(const MSVCRT_wchar_t *format, ...) return res; } +/********************************************************************* + * _getmaxstdio (MSVCRT.@) + */ +int CDECL _getmaxstdio(void) +{ + FIXME("stub, always returns 512\n"); + return 512; +} + /********************************************************************* * __pioinfo (MSVCRT.@) * FIXME: see MSVCRT_MAX_FILES define. diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index 5f4b61d98a..6a46798854 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -260,7 +260,7 @@ @ cdecl _getdllprocaddr(long str long) @ cdecl _getdrive() @ cdecl _getdrives() kernel32.GetLogicalDrives -@ stub _getmaxstdio #() +@ cdecl _getmaxstdio() @ cdecl _getmbcp() @ cdecl _getpid() kernel32.GetCurrentProcessId @ stub _getsystime #(ptr) -- 2.32.0.93.g670b81a890