public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* POSIX.1-2024 requires 64-bit time_t
@ 2025-05-18  9:58 Alejandro Colomar
  2025-05-18 16:54 ` Collin Funk
  0 siblings, 1 reply; 8+ messages in thread
From: Alejandro Colomar @ 2025-05-18  9:58 UTC (permalink / raw)
  To: linux-man, libc-alpha; +Cc: Collin Funk

[-- Attachment #1: Type: text/plain, Size: 997 bytes --]

Hi!

POSIX.1-2024 seems to require a 64-bit (or wider) time_t.  I don't know
how's the state of things as of now in glibc, so would you mind checking
the time_t(3type) manual page and letting me know if anything needs to
be updated or moved to history?

At first glancce, I see

DESCRIPTION
       time_t Used for time in seconds.  According to POSIX,
              it is an integer type.

where I'll have to append "of at least 64 bits".  Then, there's

NOTES
       On some architectures, the width  of  time_t  can  be
       controlled  with  the  feature test macro _TIME_BITS.
       See feature_test_macros(7).

Which sounds redundant with the new requirements.  That sounds like it's
for architectures that are non-conforming only, right?  In the
conforming ones, it wouldn't make sense.  So, we'll need to clarify
which architectures are conforming and which are not.  Please let me
know.


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-05-19 11:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2025-05-19 11:31     ` Andreas K. Huettel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox