include/stdio:add setlinebuf marco

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2021-11-26 17:52:57 +08:00 committed by Xiang Xiao
parent 4b2b7d1d91
commit c2bcef4db8

View File

@ -96,6 +96,8 @@
# define fsetpos64 fsetpos # define fsetpos64 fsetpos
#endif #endif
#define setlinebuf(stream) setvbuf(stream, NULL, _IOLBF, 0)
/**************************************************************************** /****************************************************************************
* Public Type Definitions * Public Type Definitions
****************************************************************************/ ****************************************************************************/