std::ungetwc
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <cwchar> 中定义
|
||
| wint_t ungetc( wint_t ch, FILE *stream ); |
||
将宽字符
ch给定的文件流. 原文:
Puts the wide character
ch back to the given file stream. 保证只有一个宽字符推回.
原文:
Only one wide character pushback is guaranteed.
[编辑] 参数
| ch | - | 宽字符被放回来了
|
| stream | - | 文件流把宽字符
原文: file stream to put the wide character back to |
[编辑] 返回值
成功则返回
ch.在失败WEOF返回给定的流保持不变.
原文:
On failure WEOF is returned and the given stream remains unchanged.
[编辑] 另请参阅
| 把一个字符到一个文件流 原文: puts a character back into a file stream (函数) | |
| 得到一个宽字符的文件流 原文: gets a wide character from a file stream (函数) | |
| C documentation for ungetwc
| |