malloc

Computing Dictionary

malloc definition


C's standard library routine for storage allocation. It takes the number of bytes required and returns a pointer to a block of that size. Storage is allocated from a heap which lies after the end of the program and data areas. Memory allocated with malloc must be freed explicitly using the "free" routine before it can be re-used.
gc is a storage allocator with garbage collection that is intended to be used as a plug-in replacement for malloc.

The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source
Explore Dictionary.com
Previous Definition: malling
Next Definition: mallon
Words Near: malloc
More from Thesaurus.com
Synonyms and Antonyms for malloc
More from Reference.com
Search for articles containing malloc
More from Dictionary.com Translator
Dictionary.com Word FAQs

Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature
FAVORITES
RECENT

;