On Sat, 5 Aug 2017, Michael Van Canneyt wrote:

> > 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

Just an addition, BlockWrite() actually calls the internal RTL function
Do_Write(), which is the write function implemented for all platforms in a
platform specific way in the RTL. On Un*x, it calls FpWrite, which calls
the kernel syscall directly.

Do_Write for all Unix (including Linux) is implemented in

FpWrite is implemented for Linux in:

But this later function is just a direct call to the syscall. That's the
entire code path then, more or less.

fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org

Reply via email to