[fpc-pascal] POpen en PClose
Marco van de Voort
fpc at pascalprogramming.org
Mon Jul 20 16:19:06 CEST 2026
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.
More information about the fpc-pascal
mailing list