diff options
author | Thierry Joyal <thierry.joyal@gmail.com> | 2022-03-07 09:37:21 +0000 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2022-03-07 13:02:01 +0100 |
commit | 9cbebdcb74b98a012be72c8cc6b64099312eb432 (patch) | |
tree | d8f7305573b1f091f42abe656aa4a0de62b1c9e0 /process.c | |
parent | ff7eb851257d2014817e237a704c85b7d5f50754 (diff) | |
download | ruby-9cbebdcb74b98a012be72c8cc6b64099312eb432.tar.gz |
[DOC] Fix documentation typo for Process#clock_gettime
Fixes [Misc #18610]
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8331,7 +8331,7 @@ ruby_real_ms_time(void) * The underlying function, clock_gettime(), returns a number of nanoseconds. * Float object (IEEE 754 double) is not enough to represent * the return value for CLOCK_REALTIME. - * If the exact nanoseconds value is required, use +:nanoseconds+ as the +unit+. + * If the exact nanoseconds value is required, use +:nanosecond+ as the +unit+. * * The origin (zero) of the returned value varies. * For example, system start up time, process start up time, the Epoch, etc. |