| www.delorie.com/djgpp/doc/libc-2.01/libc_234.html | search |
#include <dpmi.h> int __dpmi_set_segment_limit(int _selector, unsigned _address);
Please refer to section DPMI Specification for details on DPMI function call operation. Also see section DPMI Overview for general information.
DPMI function AX = 0x0008
This function sets the highest valid address in the segment referenced by _selector. For example, if you pass 0xfffff, the highest valid address is 0xfffff. Note: if you pass a number <= 64K, the segment changes to "non-big", and may cause unexpected problems.
-1 on error, else zero.
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |