Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License.

  • noun computing A subroutine in the C programming language's standard library for performing dynamic memory allocation.
  • verb computing To allocate memory using the C programming language malloc subroutine.

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word malloc.

Examples

  • This is analogous to the case of calling malloc (0), where the implementation is permitted to return a pointer to zero bytes.

    The Old New Thing oldnewthing 2010

  • The C function alloc_object in the interpreter currently calls malloc for every object allocated and doesn't record anything about what memory has been allocated.

    peter.michaux.ca 2010

  • A custom memory allocator should be usually written, because calling malloc () for a large number of small structures is suboptimal.

    The Code Project Latest Articles 2009

  • A custom memory allocator should be usually written, because calling malloc () for a large number of small structures is suboptimal.

    The Code Project Latest Articles 2009

  • There are few enough developers for RISC OS as it is without making life even harder by forcing them to avoid standard language features such as malloc () and free ().

    Drobe Launchpad News 2009

  • In addition, note that you should not use multiple memory allocators in same process, such as malloc by libc and free by libumem or other allocators.

    SDN Featured Content 2009

  • There are few enough developers for RISC OS as it is without making life even harder by forcing them to avoid standard language features such as malloc () and free ().

    Drobe Launchpad News 2009

  • By abstracting interprocess messaging, events, timers, and any I/O device that can be represented as a file descriptor, radlib simplifies the implementation of multi-purpose processes, as well as multi-process applications. radlib greatly improves typical process performance through the use of shared memory buffers to avoid costly "malloc" and "free" library calls.

    Softpedia - Windows - All 2009

  • There are few enough developers for RISC OS as it is without making life even harder by forcing them to avoid standard language features such as malloc () and free ().

    Drobe Launchpad News 2009

  • Portable software stacks often abstract library functions such as malloc () and free () through their own veneer - primarily because you cannot rely on standard implementations doing everything you need (like helping you to debug memory leaks and crashes, for example).

    Drobe Launchpad News 2009

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.