Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - these functions manipulate blocks of memory. in each case, the address of http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These functions manipulate blocks of memory.  In each case, the address of
the memory block and its size is passed to the function.  The functions that
begin with "_f" accept far pointers as their arguments allowing manipulation
of any memory location regardless of which memory model your program has
been compiled for.  The following functions are defined:

_fmemccpy
    copy far memory block up to a certain character

_fmemchr
    search far memory block for a character value

_fmemcmp
    compare any two memory blocks (near or far)

_fmemcpy
    copy far memory block, overlap not allowed

_fmemicmp
    compare far memory, case insensitive

_fmemmove
    copy far memory block, overlap allowed

_fmemset
    set any memory block (near of far) to a character

memccpy
    copy memory block up to a certain character

memchr
    search memory block for a character value

memcmp
    compare memory blocks

memcpy
    copy memory block, overlap not allowed

memicmp
    compare memory, case insensitive

memmove
    copy memory block, overlap allowed

memset
    set memory block to a character

movedata
    copy memory block, with segment information

swab
    swap bytes of a memory block

See the section "String Manipulation Functions" for descriptions of
functions that manipulate strings of data.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson