Thanks to 440bx and PascalDragon for your informations about NTSTATUS. Now I understand.
About the Linux System errors.
After the installation errno -l gives you more than 100 error numbers and messages. They are attached as textfile.
I think the discussion continues:EHWPOISON 133 Memory page has hardware error
Is this an I/O error or not?
I installed "errno" too via package moreutils. I got a list of 133 error codes and messages. The 1st 124 are the same then sysutils.SysErrorMessage() returns on Linux (Ubuntu 18.4) with FPC 3.0.4, except that the errno-messages are partly more detailed.
I think this error codes are Linux-related and have generally nothing to do with IOresult(), except in those cases, where IOresult() passes an OS-error without converting it, as PascalDragon wrote. Which in my opinion is dangerous, because it can lead to duplicate codes that are not unique, which is the worst thing you can do with error codes.