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>_bheapseg() allocates a based heap segment</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _bheapseg()             Allocates a Based Heap Segment

 #include    <malloc.h>

  _segment _bheapseg(size);
 size_t size;                   Size requested (bytes)

    This function allocates a based heap segment. size is the size of
    the segment (in bytes) to allocate. If successful, it returns the
    selector of the newly allocated segment. See _bmalloc() for more
    information.

    Returns:    Selector for the newly allocated segment if successful;
                -1 otherwise.

 Portability:   Not supported by the ANSI standard.

See Also: _bexpand() _bfreeseg() _bheapmin() _bmalloc() _brealloc()

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