Re: How to provide user supplied functionality for mkdir, chdir etc for freertos/esp-idf?

Sven Barth via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAFMUeB8Wu-v5YykdNy891QswF2QFhf76hMT74Q13vL=sza7E1A@mail.gmail.com>
Christo Crause via fpc-pascal <[email protected]> schrieb am
Mo., 16. Dez. 2024, 18:02:

> How can I provide functionality for chdir, mkdir etc. ?  The current
> implementation in freertos/sysdir.inc
> is hard coded with IO errors, is there a way to override the default
> implementation?
>
> I have implemented RTL file handling functionality by assigning the
> rtl_do_* procedural variables.
> Should a similar approach (procedural variables) be used in the
> freertos/sysdir.inc so that a user
> can supply custom implementations?
>

That or providing both (file and dir) through a manager record.

Regards,
Sven

>

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.