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
@param[in] stream An open File specifier to which the output is sent.\r
@param[in] format A multi-byte character sequence containing characters\r
to be copied unchanged, and conversion specifiers\r
- which convert their associated arguments. Copied and\r
- converted characters are sent to the output stream.\r
+ which convert their associated arguments.\r
@param ... Variable number of parameters as required by format.\r
\r
@return The fprintf function returns the number of characters\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
\r
__BEGIN_DECLS\r
int fseeko(FILE *, off_t, int);\r
-//off_t ftello(FILE *);\r
+off_t ftello(FILE *);\r
__END_DECLS\r
\r
/*\r