[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eb7df2a: Improve tv_nsec doc
From: |
Paul Eggert |
Subject: |
master eb7df2a: Improve tv_nsec doc |
Date: |
Tue, 10 Dec 2019 23:42:03 -0500 (EST) |
branch: master
commit eb7df2a4e304c7e2c35eb4df63056c98ee6324e9
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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 0135046..eed9cb0 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eb7df2a: Improve tv_nsec doc,
Paul Eggert <=