- Function
Print an error message for the error in
_oserrno
.- Header
- Declaration
void __fastcall__ _poserror (const char* msg);
- Description
_poserror
prints an error message tostderr
. Ifmsg
is notNULL
and not an empty string, it is printed followed by a colon and a blank. Then the error message for the current contents of_oserrno
are printed followed by a newline. The message output is the same as returned by_stroserror
with an argument of_oserrno
.- Limits
- Since operating system specific error code are - you guessed it - operating system specific, the value in
_oserror
and the message that is printed depend 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.