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

seg_fillword

   

Declaration:

Procedure seg_fillword (seg : Word; ofs : Longint; count : Longint; w :Word) ;

Description:

Sets a memory area to a specific value.

Parameters:

seg:
selector to memory area
ofs:
offset to memory
count:
number of words to set
w:
word data which is set

Return values: none

Notes: No range check is done in any way.

Errors:

none

See also:

seg_move, seg_fillchar, dosmemfillchar, dosmemfillword, dosmemget, dosmemput, dosmemmove

For an example, see allocate_ldt_descriptors.



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