pe
来自「Algorithms for Image Processing and Comp」· 代码 · 共 33 行
TXT
33 行
@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 + =
减小字号Ctrl + -
显示快捷键?