| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the operating specific error code of the last low-level file operation.
HB_Oserror() --> nLastErrorCode
The function returns a numeric value representing the operating system specific error code of the last low-level file operation.
HB_OsError() is used in the same ways as FError(). The difference is that FError() returns Clipper compatible error codes, while HB_OsError() returns the error code that was actually issued by the operating system. The error codes of both functions may or may not differ for the same error condition.
| See also: | DosError(), FError() |
| Category: | Error functions , Low level file functions , xHarbour extensions |
| Source: | rtl\philes.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com