Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A 100LOC C impl of memset, that is faster than glibc's. Parent comment
This is undefined behavior under C99 §6.3.2.3 Paragraph 7. "If the resulting pointer is not correctly aligned for the pointed-to type, the behavior is undefined."
The musl code referenced has handling for this.
There are no comments on this comment yet.
This is undefined behavior under C99 §6.3.2.3 Paragraph 7. "If the resulting pointer is not correctly aligned for the pointed-to type, the behavior is undefined."
The musl code referenced has handling for this.