Y
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
dxuh
1683 days ago
Afaik the kernel is built as C89 and uintptr_t was introduced in C99.
link
dataflow
1683 days ago
Damn. I'd have they they could just typedef it manually, but interesting, thanks.
link
caf
1683 days ago
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.
link