Re: fflush

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

 



fflush(3) forces the flush of userspace data provided by c library. it
has nothing to do with the kernel. maybe you want sync(2) / fsync(2) ?

kind regards
anupam

"Raghu R. Arur" <rra2002@cs.columbia.edu> writes:

>  Hi,
>
>    I was trying to trace fflush inside the kernel. But could not get much 
> information about it. is flush operation of the file system is called when 
> you call fflush. that seems to me the closest. But it is not implemented 
> for all file systems.
>
>  So when you call fflush(fp) what exactly happens.
>
>  Thanks,
>  Raghu
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
>

-- 
...mathematicians do it smoothly and continuously or discretely in groups and in fields.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux