Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It always has been. C89, 4.1.5[1]:

> The type are [...] size_t which is the unsigned integral type of the result of the sizeof operator

(Emphasis mine.)

1. https://port70.net/~nsz/c/c89/c89-draft.html#4.1.5



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: