4 ms·
Why is there no realloc that takes the number of bytes to copy?
- dave4420 3y agoIs it good enough to realloc down to the number of bytes you’d want copying, and then realloc up to your desired buffer size?
- compressedgas 3y agoWhy not a realloc which just fails if it has to copy?