delorie.com/djgpp/doc/libc/libc_138.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <crt0.h> extern __djgpp_sbrk_handle __djgpp_memory_handle_list[256]; |
This array contains a list of memory handles and program relative offsets allocated by sbrk() in addition to the handle allocated by the stub. These values are normally not needed unless you are doing low-level DPMI page protection or memory mapping.
ANSI/ISO C | No |
POSIX | No |
#include <crt0.h> for(i=0; i<256; i++) { int h, a, s; h = __djgpp_memory_handle_list[i].handle; a = __djgpp_memory_handle_list[i].address; s = __djgpp_memory_handle_size[i]; if(a == 0 && i != 0) break; printf("handle[%d]=0x%x base=0x%x size=0x%x\n",i,h,a,s); } |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |