- Function
Print an error message for the error in
_oserror.- Header
- Declaration
void __fastcall__ _poserror (const char* msg);- Description
_poserrorprints an error message tostderr. Ifmsgis notNULLand not an empty string, it is printed followed by a colon and a blank. Then the error message for the current contents of_oserrorare printed followed by a newline. The message output is the same as returned by_stroserrorwith an argument of_oserror.- Limits
- Since operating system specific error code are - you guessed it - operating system specific, the value in
_oserrorand the message that is printed depends on the cc65 target.- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
cc65
- See also
- Example
None.