On 3/29/20 9:32 PM, Bob Proulx wrote:
Both calls from GNU date are returning EINVAL.  Those are Linux kernel
system calls.  Those Linux kernel system calls are using
CLOCK_MONOTONIC.

OK, I think I understand now. For some reason Linux prohibits you from setting CLOCK_REALTIME to a value less than what CLOCK_MONOTONIC would report. I don't know why Linux has this restriction - it violates POSIX as near as I can tell - but at any rate as you say it's a problem with the Linux kernel, not with GNU 'date'.



Reply via email to