Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
xboxnolifes
1y ago
0 comments
Share
It'll still be a problem for code that relies on time being 64-bit int of nanoseconds. How do you change the internal representation here without also breaking the API contract for application code?
undefined | Better HN
0 comments
default
newest
oldest
re
1y ago
The kernel does not have an API that exposes that representation to user code; system calls operate on timespec structs
struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ };
j
/
k
navigate · click thread line to collapse