Prints an error string to stderr.
void perror (char * string);
Required Header |
<stdio.h> |
Return Value
None.
Parameters
string
The message to be written to stderr
Remarks
The perror function prints string followed by a colon, the text representation of the last error stored in errno and a newline character.