Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>farcalloc</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
farcalloc

Usage

   #include <dos.h>
   void far *farcalloc(unsigned long numelems, unsigned long size);

Description

   Note-This function is not implemented for the X and P memory models.

   farcalloc allocates memory from the far heap for an array containing
   numelems elements, each size bytes long.

   This function is very similar to calloc. In the small and medium memory
   models calloc allocates memory within the near heap, whereas farcalloc

   allocates memory in the far heap. In the large memory model, both
   functions allocate memory from the far heap.

Return Value

   farcalloc returns a far pointer to the allocated memory block, or NULL if
   not enough space exists.

See Also

   calloc,      farcoreleft, farfree,  farmalloc,
   farrealloc,  free,        malloc,   realloc



See Also: calloc farcoreleft farfree farmalloc farrealloc free malloc realloc

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