C语言 <stdio.h> perror() 函数
-
描述
C库函数void perror(const char *str)将描述性错误消息打印到stderr。首先打印字符串str,然后是冒号,然后是空格。 -
声明
以下是perror()函数的声明。参数- str - 这是C字符串,其中包含要在错误消息本身之前打印的自定义消息。
-