xm

来自「Algorithms for Image Processing and Comp」· 代码 · 共 25 行

TXT
25
字号
@c ----------------------------------------------------------------------
@node xmalloc, memory
@heading @code{xmalloc}
@subheading Syntax

@example
void *xmalloc(size_t size);
@end example

@subheading Description

This function is just like @code{malloc} (@pxref{malloc}), except that if
there is no more memory, it prints an error message and exits. 

@subheading Return Value

A pointer to the newly allocated memory.

@subheading Example

@example
char *f = xmalloc(100);
@end example

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?