Function set_segment_limit (d : Word; s : Longint) : boolean;
Sets the limit of a descriptor.
Parameters:
Return values: Returns true if successful, else false.
Notes: The new limit specified must be the byte length of the segment - 1. Segment limits bigger than or equal to 1MB must be page aligned, they must have the lower 12 bits set.
Check int31error variable
allocate_ldt_descriptors, set_segment_base_address, get_segment_limit, set_segment_limit
For an example, see allocate_ldt_descriptors.