delorie.com/djgpp/doc/libc/libc_445.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dpmi.h> int _go32_dpmi_resize_dos_memory(_go32_dpmi_seginfo *info); |
See section DPMI Overview.
The info structure is the same one used to allocate the memory.
Fill in a new value for size
and call this function. If there is
not enough memory to satisfy the request, the largest size is filled in
to the size
field, the memory is not resized, and this function
fails.
Zero on success, nonzero on failure.
ANSI/ISO C | No |
POSIX | No |
_go32_dpmi_seginfo info; info.size = 10; _go32_dpmi_allocate_dos_memory(&info); info.size = 20; _go32_dpmi_resize_dos_memory(&info); _go32_dpmi_free_dos_memory(&info); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |