The perror() function produces a message on standard error describing the last error encountered during a call to a system or library function.
**参数:**
s:First (if s is not NULL and *s is not a null byte ('\0')), the argument string s is printed, followed by a colon and a blank. Then an error message corresponding to the current value of errno and a new-line. To be of most use, the argument string should include the name of the function that incurred the error.