Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dataflow
on Nov 2, 2021
|
parent
|
context
|
favorite
| on:
Core scheduling lands in Linux 5.14
Thanks, yeah. Any idea why they still do this instead of switching to `uintptr_t`?
dxuh
on Nov 2, 2021
[–]
Afaik the kernel is built as C89 and uintptr_t was introduced in C99.
dataflow
on Nov 2, 2021
|
parent
[–]
Damn. I'd have they they could just typedef it manually, but interesting, thanks.
caf
on Nov 2, 2021
|
root
|
parent
[–]
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: