void perror(char *msg); void _wperror(wchar_t *msg); void _tperror(TCHAR *msg);
Display an error message msg.
|msg||Address of a NULL terminated character string that contains the
message to display.
There is no return value.
The message along with two CR-LF character combinations is written to stderr. Stderr is not streamable, that is, when stdout is redirected on the command line to a file, stderr will still write to the screen.
RED is used for the foreground colour.