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 Library Reference - 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 (see memccpy)
    copy far memory block up to a certain character

_fmemchr (see memchr)
    search far memory block for a character value

_fmemcmp (see memcmp)
    compare any two memory blocks (near or far)

_fmemcpy (see memcpy)
    copy far memory block, overlap not allowed

_fmemicmp (see memicmp)
    compare far memory, case insensitive

_fmemmove (see memmove)
    copy far memory block, overlap allowed

_fmemset (see memset)
    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.  See the section "Wide String
Manipulation Functions" for descriptions of functions that manipulate wide
strings of data.

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