]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/stdio.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLib / Include / stdio.h
index 59022666bd742c4ed20c9a1a0147917bb1e70894..c0a4deb7837eaeca1ab64edd8d7d8975fe28dad6 100644 (file)
           by a three-character attempt at a mnemonic.\r
 \r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available under\r
   the terms and conditions of the BSD License that accompanies this distribution.\r
   The full text of the license may be found at\r
@@ -243,8 +243,8 @@ typedef struct __sFILE {
   /*@}*/\r
 \r
   /* tricks to meet minimum requirements even when malloc() fails */\r
-  unsigned char   _ubuf[3];   /**< guarantee an ungetc() buffer */\r
-  unsigned char   _nbuf[1];   /**< guarantee a getc() buffer */\r
+  unsigned char   _ubuf[3 * MB_LEN_MAX];   /**< guarantee an ungetc() buffer */\r
+  unsigned char   _nbuf[1 * MB_LEN_MAX];   /**< guarantee a getc() buffer */\r
 \r
   /** separate buffer for fgetln() when line crosses buffer boundary */\r
   struct  __sbuf  _lb;        /* buffer for fgetln() */\r