- Function
Print an error message for the error in
errno
.- Header
- Declaration
void __fastcall__ perror (const char* s);
- Description
perror
prints an error message tostderr
. Ifs
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 oferrno
is printed followed by a newline. The message output is the same as returned bystrerror
with an argument oferrno
.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.