Hacker News new | ask | show | jobs
by _kst_ 4639 days ago
<time.h> is userspace. It's at least theoretically possible for long long to be more than 64 bits. Why use long long (potentially, say, 128 bits) rather than int64_t for time_t?

And why wouldn't int64_t be available in kernel space?

1 comments

long long can be printed in printf with the "%lld" flag.