Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>xmalloc</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
xmalloc
=======

Syntax
------

     #include <stdlib.h>
     
     void *xmalloc(size_t size);

Description
-----------

This function is just like `malloc' (malloc:.), except that if   
there is no more memory, it prints an error message and exits.

Return Value
------------

A pointer to the newly allocated memory.

Example
-------

     char *f = xmalloc(100);


See Also: malloc

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson