On Fri, 2003-11-14 at 05:45, Eric Smith wrote:
Hans wrote:
The value of the segment has no meaning - why do
people
always waste their time in calculateing 'real' addresses?
I don't care for that on a /370, nor on a PDP 11, so why
should I do so on my PC?
/* Fill a block of memory with 0's. */
void foofill (start, end)
{
char *start, *end; /* memory pointers */
while (start < end) { /* until we reach the end... */
*start++= 0; /* write 0, incr pointer... */
}
}