Re: [PATCH] fflush.3: SEE ALSO: Add fpurge(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Michael,

On 3/3/21 11:20 PM, Michael Kerrisk (man-pages) wrote:
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.

Yes, for output streams they're different.
I meant
f.....(i[nput]_stream);
which I believe to be the same thing.


But I still think the patch is useful. fflush(3)
and fpurge(3) serve related purposes.

Patch applied.

Thanks,

Alex


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux