| Home
| Previous
| Next
| Up

MGL_memsetl

Clears a memory block with 32-bit values.

Declaration

void MGLAPI MGL_memsetl(
void *p,
long c,
long n)

Prototype In

mgraph.h

Parameters

p | Pointer to block to clear
c | Value to clear with
n | Number of dwords to clear

Description

This function clears a memory block to the specified 32 bit value. This function is similar to the standard C library memset function, but can correctly handle clearing of memory blocks that are larger than 64Kb in size for 16 bit real mode environments, and allows you to specify a specific 32 bit value to be cleared.

See Also

MGL_memset, MGL_memsetw

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com