Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mort96
on March 13, 2023
|
parent
|
context
|
favorite
| on:
Improved audio rendering with an optimised version...
Haha, you're right, it's technically allowed for memcpy to call malloc in that circumstance.
Tor3
on March 15, 2023
[–]
memcpy wouldn't, but memmove would. memcpy doesn't check for or care about overlaps (and therefore the result is unpredictable - it'll depend on the implementation)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: