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
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
- 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
\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
@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
@param ... Variable number of parameters as required by format.\r
\r
@return The fprintf function returns the number of characters\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
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