On Fri, 7 Nov 2003 09:15:17 +0100 (CET), you wrote:

>> I had a look at Kylix's RaiseLastOSError function. It uses
>> GetLastError which calls '__errno_location' from 'libc.so.6'. On
>> Windows this uses the GetLastError WinAPI call.
>> 
>> This is Delphi's implementation for RaiseLastOSError:
>
>[/me pinches his eyes. Doesn't want to see Delphi code out of cleanroom reasons]
>The __errno_location (threadsafe errno) is a bit of a problem for various reasons.
>But anyway, essentially it takes the OS error, and raises some exception.

Sorry, I should have guessed. Yes, it basically takes the OS error and
raises some exception. The exception message is the OS error message
as returned by an OS function call.


_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to