Hacker News new | ask | show | jobs
by dataflow 1683 days ago
Thanks, yeah. Any idea why they still do this instead of switching to `uintptr_t`?
1 comments

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.