From: Collin Funk <collin.funk1@gmail.com>
To: Mark Harris <mark.hsj@gmail.com>
Cc: Alejandro Colomar <alx@kernel.org>,
linux-man@vger.kernel.org, libc-alpha@sourceware.org
Subject: Re: POSIX.1-2024 requires 64-bit time_t
Date: Sun, 18 May 2025 15:46:01 -0700 [thread overview]
Message-ID: <87iklxy1ue.fsf@gmail.com> (raw)
In-Reply-To: <CAMdZqKFyc=cNh-aQVLZ6ovEZurzqSREhY1gx8L0m27f2uS=smw@mail.gmail.com>
Mark Harris <mark.hsj@gmail.com> writes:
> For glibc, all 64-bit platforms, and the most recently added 32-bit
> platforms (arc, riscv32, or1k), use 64-bit time_t. All older but
> still-supported 32-bit platforms (arm, csky, hppa, m68k, microblaze,
> mips, powerpc, s390, sh, sparc, x86) currently use 32-bit time_t by
> default but can use 64-bit time_t with -D_TIME_BITS=64. For musl, all
> platforms use 64-bit time_t.
Thanks for the details.
I had looked into it and it seemed that time_t was 32-bits where
__WORD_SIZE == 32. But it seems I missed the newer 32-bit platforms.
Collin
next prev parent reply other threads:[~2025-05-18 22:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-18 9:58 POSIX.1-2024 requires 64-bit time_t Alejandro Colomar
2025-05-18 16:54 ` Collin Funk
2025-05-18 21:52 ` Mark Harris
2025-05-18 22:06 ` Alejandro Colomar
2025-05-18 22:09 ` Mark Harris
2025-05-18 22:13 ` Alejandro Colomar
2025-05-18 22:46 ` Collin Funk [this message]
2025-05-19 11:31 ` Andreas K. Huettel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iklxy1ue.fsf@gmail.com \
--to=collin.funk1@gmail.com \
--cc=alx@kernel.org \
--cc=libc-alpha@sourceware.org \
--cc=linux-man@vger.kernel.org \
--cc=mark.hsj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox