[fpc-devel]1.9.4 / Linux / GetEnv
lists.fpc-devel at duinheks.xs4all.nl
lists.fpc-devel at duinheks.xs4all.nl
Tue Jun 15 13:56:59 CEST 2004
Hallo Marco,
Op 15 Jun 04 schreef Marco van de Voort aan fpc-devel at lists.freepascal.org:
>> I use the GetEnv function from the Linux unit quite often.
MvdV> In this case:
MvdV> Use the OS dependant routines as much as possible, so
MvdV> Sysutils.getenvironmentvariable
Ah! That one's not documented [yet], as far as I can see. Thank you very
much, again!
MvdV> In general:
MvdV> - Unit Linux is totally deprecated, but available as oldlinux (but I
MvdV> advise seriously against using it) - Most similar calls are prefixed
MvdV> with "fp" and are in units unix and baseunix, however note that the
MvdV> errorhandling is now C compatible.
Yes, you told us that already :) And I certainly try to follow that advice.
Groetjes,
Hans.
--- GoldED+/LNX 1.1.5cvs031202
* Origin: The Wizard is using MBSE/Linux (2:280/1018)
More information about the fpc-devel
mailing list