Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>setmem() assign a value to memory</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
setmem()                 Assign a Value to Memory

 #include   <mem.h>

 void       setmem(addr,len,value);
 void       *addr;                       Address
 int        len;                         Length
 char       value;                       Value put in memory

    setmem() sets the first 'len' bytes of the block pointed to by 'addr'
    to the byte 'value'.

    Returns:    There is no return value.

See Also: memmove() memcpy()

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