Three events that cause the system to flush the buffer

原创
2009/08/19 21:01
阅读数 110

First, the buffer might be full, in which case the library will flush it automatically.

Second, the library might be asked to read from the standard input stream. in that case, the library immediately flushes the output buffer without waiting for the buffer to become full.

The third occasion for flushing the buffer is when we explicitly say to do so.

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部