Op 20-7-2026 om 15:13 schreef Adriaan van Os via fpc-pascal:

So popen/pclose are a more high level (FILE * using) part of libc, while we tend to only use the basis.

Ah, so that means that I couldn't just call naively into libc popen with FileRec.Handle ?

Indeed.   And FILE* is opague and thus target specific,  it would mean another structure to maintain, and to somehow to determine for a new *nix target. STAT and STATFS already give us grief enough.
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to