I am facing today with a problem where I need to change memory to a certain pattern like 0x11223344
, so that the whole memory looks like (in hex):
1122334411223344112233441122334411223344112233441122334411223344...
I can't figure out how to do it with memset() because it takes only a single byte, not 4 bytes.
Any ideas?
Thanks, Boda Cydo.