First draft of the Y2038 design document
Paul Eggert
eggert@cs.ucla.edu
Tue Oct 27 02:38:00 GMT 2015
Florian Weimer wrote:
> Do you really need new system calls if the existing arguments only take
> arguments specifying relative time?
Yes. For example, the shell command 'sleep Infinity' wants to sleep forever, so
it'd like to invoke nanosleep with a struct timespec where tv_sec = 2**63 - 1.
Currently 'sleep' doesn't do that because it knows nanosleep is broken, but it'd
be nicer to have a nanosleep that Just Works.
More information about the Libc-alpha
mailing list