[fpc-pascal] BlockWrite() version 2.6.4

Michael Van Canneyt michael at freepascal.org
Sat Aug 5 16:56:36 CEST 2017



On Sat, 5 Aug 2017, Brian wrote:

> Can anyone familiar with FPC 2.6.4 comment on the specifics of how
> BlockWrite() functions under Linux. Specifically does BlockWrite() call the
> Linux kernel or call fWrite()?

Normally, it calls the linux kernel.

>
> Does BlockWrite() call fFlush or does it rely on the kernel when to flush
> and actually write to the disk?

It relies on the kernel.

>
> In which file can the source code specific to BlockWrite() version 2.6.4 be
> found ?

Headers are in rtl/inc/systemh.inc 
actual routines are in rtl/inc/file.inc

Michael.



More information about the fpc-pascal mailing list