[fpc-devel] Publish some of FPC's internal cross-platform functionality

Marco van de Voort fpc at pascalprogramming.org
Sat Mar 9 22:05:23 CET 2019


Op 2019-03-09 om 21:45 schreef Anton Shepelev:
> Marco van de Voort:
>
>> Really? So why can't you simply use untyped "file"?
> I am writing a TextRec driver that shall work with a bare
> THandle, e.g.:


Use (objpas.) fileread and filewrite

https://www.freepascal.org/docs-html/3.0.4/rtl/sysutils/fileread.html

https://www.freepascal.org/docs-html/3.0.4/rtl/sysutils/filewrite.html

which is what these internal routines are the undocument interface for 
anyway.





More information about the fpc-devel mailing list