Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_dos_allocmem
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: <dos.h>, <errno.h>
Syntax: unsigned _dos_allocmem( unsigned size, unsigned *seg );
Returns: 0 if successful, or the DOS error code if not.
errno: ENOMEM
See also: alloca, calloc, _dos_freemem, _dos_setblock, halloc,
malloc
-♦-