Hello Alex, On 2/24/21 12:17 AM, Alejandro Colomar wrote: > fpurge(i_stream) does the same as fflush(i_stream), AFAIK. I don''t think so. fflush() of an output stream forces a write() of data to the kernel. fpurge() discards the data, as I understand things. But I still think the patch is useful. fflush(3) and fpurge(3) serve related purposes. Patch applied. Thanks, Michael > Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> > --- > man3/fflush.3 | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/man3/fflush.3 b/man3/fflush.3 > index 26b91e618..bbe3c453e 100644 > --- a/man3/fflush.3 > +++ b/man3/fflush.3 > @@ -133,6 +133,7 @@ or > .BR sync (2), > .BR write (2), > .BR fclose (3), > +.BR fpurge (3), > .BR fileno (3), > .BR fopen (3), > .BR setbuf (3), > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/