From: Paul Eggert Date: Wed, 11 Dec 2019 04:41:28 +0000 (-0800) Subject: Improve tv_nsec doc X-Git-Tag: emacs-27.0.90~382 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb7df2a4e304c7e2c35eb4df63056c98ee6324e9;p=emacs.git Improve tv_nsec doc * doc/lispref/internals.texi (Module Values): Document tv_nsec more accurately. --- 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