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

Thanks, yeah. Any idea why they still do this instead of switching to `uintptr_t`?


Afaik the kernel is built as C89 and uintptr_t was introduced in C99.


Damn. I'd have they they could just typedef it manually, but interesting, thanks.


It's not even about how the kernel is built. The userspace-side system call declarations need to be #include-able in C89 user code, so they can't use C99 types.




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

Search: