According to link, memset accepts an int for the value to be set. Why an int, if memset set each byte in the buffer?
I can only imagine that memcpy tries to optimize by copying 4 bytes at a time.
Thanks.
According to link, memset accepts an int for the value to be set. Why an int, if memset set each byte in the buffer?
I can only imagine that memcpy tries to optimize by copying 4 bytes at a time.
Thanks.