]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve tv_nsec doc
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Dec 2019 04:41:28 +0000 (20:41 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Dec 2019 04:41:55 +0000 (20:41 -0800)
* doc/lispref/internals.texi (Module Values):
Document tv_nsec more accurately.

doc/lispref/internals.texi

index 013504680bb595a6bc548019c81ed2b4cdd52949..eed9cb0a10979d82c4061ef1eec92427387a62ac 100644 (file)
@@ -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