As reported as 2) in this mail:

https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html

it seems the nanosleep function modifies the second parameter on
success.

This behaviour doesn't seem consistent with the specification at

http://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html

It seems the second parameter should not be modified unless the call
fails with EINTR, right?

/Simon

Reply via email to