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
/*@}*/\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
encountered. If Size or Num is zero, fwrite returns zero and\r
the state of the stream remains unchanged.\r
**/\r
-size_t fwrite (void * __restrict Buffer,\r
- size_t Size,\r
- size_t Num,\r
- FILE * __restrict Stream\r
+size_t fwrite (const void * __restrict Buffer,\r
+ size_t Size,\r
+ size_t Num,\r
+ FILE * __restrict Stream\r
);\r
\r
/* ################ File Positioning Functions. */\r
int mkstemp(char *);\r
char *mktemp(char *);\r
\r
- char *tempnam(const char *, const char *);\r
+ char *tempnam(const char *, const char *);\r
__END_DECLS\r
\r
/*\r