GDN:malloc

From LibrePlanet
Revision as of 14:57, 19 December 2013 by Dgumberg (talk | contribs) (Created page with "{{Infobox Function | header = stdlib.h | since = C90 }} The function <code>malloc</code> returns a pointer to a newly allocated block <code>size</size> bytes long or a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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