You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the buffer type of Windows' stdout is no buffer (_IONBF), and there is no need to manually fflush stdout. But some program, such as Windows Filtering Platform driver provided by the security software, may change the buffer type of stdout to Full buffering. Therefore, fflush(stdout) needs to be called manually, otherwise there will be no output to stdout.
According to common sense, when the program exits, the stdout buffer should be automatically output and released, but not on Windows. So this commit will do it.
Signed-off-by: MinarKotonoha <chengzhuo5@qq.com>
0 commit comments