perror 语法: #include <stdio.h> void perror( const char *str ); perror()函数打印str(字符串)和一个相应的执行定义的错误消息到全局变量errno中