📄 ab
字号:
@c ----------------------------------------------------------------------
@node abort, process
@heading @code{abort}
@subheading Syntax
@example
#include <stdlib.h>
void volatile abort(void);
@end example
@subheading Description
When you call @code{abort}, the message "Abort!" is printed on stdout
and the program exits with an exit code of one.
@subheading Return Value
This function does not return.
@subheading Example
@example
if ((q = malloc(100)) == NULL)
abort();
@end example
@c ----------------------------------------------------------------------
@node abs, math
@heading @code{abs}
@subheading Syntax
@example
#include <stdlib.h>
int abs(int value);
@end example
@subheading Return Value
The absolute value of @code{value} is returned.
@subheading Example
@example
int sq = 7;
sq = sq * abs(sq) + 1;
@end example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -