📄 pe
字号:
@c ----------------------------------------------------------------------
@node perror, stdio
@heading @code{perror}
@subheading Syntax
@example
#include <stdio.h>
void perror(const char *string);
@end example
@subheading Description
This function formats an error message and prints it to @code{stderr}.
The message is the string, a colon, and a message suitable for the error
condition indicated by @code{errno}.
@subheading Return Value
None.
@subheading Example
@example
int x = open("foo", O_RDONLY);
if (x < 0)
@{
perror("foo");
exit(1);
@}
@end example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -