next up previous contents index
Next: seg_fillchar Up: Functions and Procedures Previous: get_page_size

seg_move

   

Declaration:

Procedure seg_move (sseg : Word; source : Longint; dseg : Word; dest : Longint; count : Longint) ;

Description:

Copies data between two memory locations

Parameters:

sseg:
source selector
source:
source offset
dseg:
destination selector
dest:
destination offset
count:
size in bytes to copy

Return values: none

Notes: Overlapping is only checked if the source selector is equal to the destination selector. No range check is done.

Errors:

none

See also:

seg_fillchar, seg_fillword, dosmemfillchar, dosmemfillword, dosmemget, dosmemput, dosmemmove

For an example, see allocate_ldt_descriptors.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998