aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Funk <collin.funk1@gmail.com>2025-04-02 17:41:58 -0700
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-04-14 10:10:17 -0300
commit363bbdbd2aeaae1e00f3872f2ba19a4a3c17bdf1 (patch)
tree682f4626c713ba46deec8a0f2f94defccb0fee61
parent93623c03d527dcec76694ab0fcc197193922d1a8 (diff)
downloadglibc-363bbdbd2aeaae1e00f3872f2ba19a4a3c17bdf1.zip
glibc-363bbdbd2aeaae1e00f3872f2ba19a4a3c17bdf1.tar.gz
glibc-363bbdbd2aeaae1e00f3872f2ba19a4a3c17bdf1.tar.bz2
manual: Mention POSIX-1.2024 requires time_t to be 64 bit or wider.
* manual/time.texi (Time Types): Mention POSIX-1.2024 requires 64 bit time_t. Signed-off-by: Collin Funk <collin.funk1@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--manual/time.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/time.texi b/manual/time.texi
index 04c97f5..6b89b85 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -148,7 +148,8 @@ and pass them to the functions that convert them to broken-down time
On POSIX-conformant systems, @code{time_t} is an integer type and its
values represent the number of seconds elapsed since the @dfn{POSIX Epoch},
which is January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC)@.
-The count of seconds ignores leap seconds.
+The count of seconds ignores leap seconds. Additionally, POSIX.1-2024
+added the requirement that @code{time_t} be at least 64 bits wide.
@Theglibc{} additionally guarantees that @code{time_t} is a signed
type, and that all of its functions operate correctly on negative