ma

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

TXT
38
字号
@c ----------------------------------------------------------------------
@node __main, process
@heading @code{__main}

@subheading Description

This function is used internally to initialize the application, and
should not be directly called by the programmer. 

@c ----------------------------------------------------------------------
@node malloc, memory
@heading @code{malloc}
@subheading Syntax

@example
#include <stdlib.h>

void *malloc(size_t size);
@end example

@subheading Description

This function allocates a chunk of memory from the heap large enough to
hold any object that is @var{size} bytes in length.  This memory must be
returned to the heap with @code{free} (@pxref{free}). 

@subheading Return Value

A pointer to the allocated memory, or @code{NULL} if there isn't enough
free memory to satisfy the request. 

@subheading Example

@example
char *c = (char *)malloc(100);
@end example

⌨️ 快捷键说明

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