Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_fcalloc() allocate and zero memory on the far heap</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fcalloc()              Allocate and Zero Memory on the Far Heap

 #include   <malloc.h>
 #include   <stdlib.h>

 void _far *_fcalloc(num, size);
 size_t num;                            Number of elements
 size_t size;                           Length (bytes) of each element

    This is the far heap version of calloc(); it allocates and zeros
    num elements, each of size size, on the far heap. See calloc() for
    more information.

    Returns:    A pointer to the allocated space if successful, NULL
                otherwise.

 Portability:   Not supported by the ANSI standard.


See Also: calloc()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson