seg_fillword

Fill segment with word value

Declaration

Source position: go32.pp line 126

  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.

For an example, see allocate_ldt_descriptors .

Errors

None.

See also

Name Description
dosmemfillchar Fill a region of DOS memory with a specific byte-sized value
dosmemfillword Fill a region of DOS memory with a specific word-sized value
dosmemget Copy data from DOS memory to the heap.
dosmemmove Move data between 2 DOS real mode memory locations
dosmemput Copy data from the heap to DOS real mode memory
seg_fillchar Fill segment with byte value
seg_move Move data between 2 locations