From eb7df2a4e304c7e2c35eb4df63056c98ee6324e9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Dec 2019 20:41:28 -0800 Subject: [PATCH] Improve tv_nsec doc * doc/lispref/internals.texi (Module Values): Document tv_nsec more accurately. --- doc/lispref/internals.texi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 013504680bb..eed9cb0a109 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi @@ -1528,8 +1528,11 @@ following members: @item time_t tv_sec Whole number of seconds. @item long tv_nsec -Fractional seconds as number of nanoseconds, always less than one -billion. +Fractional seconds as a number of nanoseconds. +For timestamps returned by @code{extract_time}, +this is always nonnegative and less than one billion. +(Although POSIX requires the type of @code{tv_nsec} to be @code{long}, +the type is @code{long long} on some nonstandard platforms.) @end table @noindent -- 2.39.2