| www.delorie.com/djgpp/doc/libc-2.01/libc_687.html | search |
#include <stdlib.h> void *xmalloc(size_t size);
This function is just like malloc (see section malloc), except that if
there is no more memory, it prints an error message and exits.
A pointer to the newly allocated memory.
char *f = xmalloc(100);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |