Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with 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 a block pointed to by 'addr'
    to the byte 'value'.

       Returns:     Nothing

   Portability:     Applies to 8086 family of processors only.


See Also: memmove() memcpy()

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