Mail Archives: djgpp/1997/12/22/19:47:09
Dave,
> The syntax I have shows _movedata(unsigned, unsigned, unsigned,
> unsigned, size_t)
>
> unsigned, unsigned, unsigned, unsigned WHAT????? I kinda thought like
> unsigned src seg, unsigned src offset, unsigned dest seg, unsigned dest
> offset, but
> isn't DJGPP supposd to work without these segment headaches?
If you looked at the info you should have noticed that this functions is
for
tranfering data between conventional and linear memory. Thus the use
of selectors.
> long unsigned storage[1000000];
> long unsigned current[20000];
>
> I want to be able to copy 20000 bytes from storage to current.. The
> program will determine where to start copying from in array storage.
The standard (ANSI) library function is memmove(void *dest, void *source,
int num).
--
-- Jerry van Dijk
-- Consultant
-- Ordina Finance
- Raw text -