Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mjg59
on Dec 11, 2024
|
parent
|
context
|
favorite
| on:
Making memcpy(NULL, NULL, 0) well-defined
The valid inputs to memcpy() are defined by the C specification, so the compiler is free to make assumptions about what valid inputs are even if the library implementation chooses to allow a broader range of inputs
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: