- Function
Print an error message for the error in
errno.- Header
- Declaration
void __fastcall__ perror (const char* s);- Description
perrorprints an error message tostderr. Ifsis notNULLand not an empty string, it is printed followed by a colon and a blank. Then the error message for the current contents oferrnois printed followed by a newline. The message output is the same as returned bystrerrorwith 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.