tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
A nit-pick on gettime(9) man-page
The system realtime clock is guaranteed to be monotonically
increasing at all times. As such, all calls to these functions
are guaranteed to return a system time greater than or equal to
the system time returned in any previous calls.
The guarantee to return a result "greater than or equal to" the previous
result is a property of a "monotonically non-decreasing" function. A
"monotonically increasing" function would guarantee a results that is
strictly greater than any previous results.
So, which is correct here? :)
+------------------+--------------------------+------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
Home |
Main Index |
Thread Index |
Old Index