fflush(3) Library Functions Manual fflush(3) fflush - C (libc, -lc) #include int fflush(FILE *_Nullable stream); fflush() stream . , , (, , ), fflush() , , . . stream NULL, fflush() . unlocked_stdio(3). . EOF errno . EBADF stream . fflush() errno write(2). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |fflush() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C89, POSIX.1-2001, POSIX.1-2008. POSIX.1-2001 , POSIX.1-2008. , fflush() , . , , , , sync(2) fsync(2). fsync(2), sync(2), write(2), fclose(3), fileno(3), fopen(3), fpurge(3), setbuf(3), unlocked_stdio(3) () Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . fflush(3)