4 ms·
I hereby propose a change to memcpy to include a maxbytes parameter and an optional assert() if len exceeds it. Might turn up a few interesting things.
by enjoy-your-stay 15y ago
I hereby propose a change to memcpy to include a maxbytes parameter and an optional assert() if len exceeds it.
Might turn up a few interesting things.
- subleq 15y agomemcpy's third argument is the maximum (additionally, the exact) number of bytes it will copy.