Op 20-7-2026 om 12:07 schreef Michael Van Canneyt via fpc-pascal:
Well aside from the fact that FreeBSD was the architecture where the baseunix/unix RTL  was done. The port to Linux was only done later :-)

Correct, but popen/pclose existed before that in the linux unit.
Pretty sure about that, because I implemented it there.

Yes, I think so.  The left overs of the linux/unix library were done relatively later (first baseunix was done, and everything was migrated),   and since the initial libc implementation of baseunix didn't introduce FILE *, it was logical to maintain the signatures.

Jonas  might even have started using the libc port for Darwin at that point (IIRC about half an year after the big bang), I can vaguely remember him helping me with some of those leftover  unix functions, which had some issues (iirc clone() usage and problems with a function call that had a deviation way of handling parameters (PIPE?)) .  Darwin and FreeBSD shared quite a lot of pedigree back then.

So it could even have been Jonas' decision to maintain the signatures, not mine.


_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to