fputwc
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <wchar.h> 中定义
|
||
将一个宽字符
ch给定的输出流stream。 putwc()可以被实现为一个宏,并可能评估stream不止一次.原文:
Writes a wide character
ch to the given output stream stream. putwc() may be implemented as a macro and may evaluate stream more than once.[编辑] 参数
| ch | - | 宽字符被写入
|
| stream | - | 输出流
|
[编辑] 返回值
ch成功,WEOF失败。如果出现编码错误,errno设置为EILSEQ.原文:
ch on success, WEOF on failure. If an encoding error occurs, errno is set to EILSEQ.[编辑] 另请参阅
| 将一个字符写入一个文件流 (函数) | |
| 宽字符串写入一个文件流 原文: writes a wide string to a file stream (函数) | |
| 得到一个宽字符的文件流 原文: gets a wide character from a file stream (函数) | |
| C++ documentation for fputwc
| |