Ok. Many thanks guys.
Brian
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/BlockWrite-version-2-6-4-tp5729418p5729456.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maill
Hi,
On Mon, 14 Aug 2017, Brian wrote:
> Thanks Charlie.
>
> I notice the Do_Write() uses repeat .. until where fpWrite() does a direct
> call.
>
> What was the reasoning for the repeat..until in Do_Write() ?
Because FpWrite() is just the direct Unix OS call, so the RTL doesn't add
extra behavio
In our previous episode, Brian said:
> I notice the Do_Write() uses repeat .. until where fpWrite() does a direct
> call.
>
> What was the reasoning for the repeat..until in Do_Write() ?
Syscalls that block for hardware can return EINTR (ESysIntr) on some
*nixes when a signal arrives while waiti
Thanks Charlie.
I notice the Do_Write() uses repeat .. until where fpWrite() does a direct
call.
What was the reasoning for the repeat..until in Do_Write() ?
Thanks
Brian
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/BlockWrite-version-2-6-4-tp5729418p572
Hi,
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
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
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()?
Does BlockWrite() call fFlush or does it rely on the kernel when to flush
and actually write to the disk?
In which file can