GDN:malloc

From LibrePlanet
Jump to: navigation, search


The function malloc returns a pointer to a newly allocated block size</size> bytes long or a null pointer if the block could not be allocated.

Contents

Prototype

<source lang="c">void * malloc (size_t size)</source>

GDN:malloc
Header stdlib.h
Supported Since C90