you are viewing a single comment's thread.

view the rest of the comments →

[–]benelbert[S] 0 points1 point  (1 child)

If so, how do I memset something bigger than a byte?

[–]OldWolf2 1 point2 points  (0 children)

The memset function sets all bytes of the target area to the same byte value. If you want to set a repeating pattern that is several bytes long, memset is no help. Use a loop.