[fpc-pascal] Negative RTL Error Codes in Some Platforms

Bihar Anwar bihar_anwar at rocketmail.com
Thu Jun 10 05:44:16 CEST 2010


I look at the FPC RTL source codes and notice that in some OSes (e.g. OS/2, DOS) every RTL functions which call OS API functions will return the OS error code as a negative number. What is the reason behind this? I don't find such a convention in the official documentation of thouse OSes.



      




More information about the fpc-pascal mailing list