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.



root
Fri Sep 11 18:24:36 CEST 1998