* [PATCH] time_t.3type: reference _TIME_BITS
@ 2022-10-13 0:33 Sam James
2022-10-13 13:08 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Sam James @ 2022-10-13 0:33 UTC (permalink / raw)
To: Alejandro Colomar, Michael Kerrisk; +Cc: linux-man, Sam James
Just like we do with _FILE_OFFSET_BITS in off_t.3type.
Reference: https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration
Reference: https://sourceware.org/pipermail/libc-alpha/2022-January/134985.html
Signed-off-by: Sam James <sam@gentoo.org>
---
man3type/time_t.3type | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/man3type/time_t.3type b/man3type/time_t.3type
index d40dd0c0d..9b8f07356 100644
--- a/man3type/time_t.3type
+++ b/man3type/time_t.3type
@@ -70,6 +70,12 @@ POSIX.1-2001 and later.
POSIX.1-2001 and later.
.PD
.SH NOTES
+On some architectures,
+the width of
+.I time_t
+can be controlled with the feature test macro
+.BR _TIME_BITS .
+.PP
.TP
.I time_t
The following headers also provide
--
2.38.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] time_t.3type: reference _TIME_BITS
2022-10-13 0:33 [PATCH] time_t.3type: reference _TIME_BITS Sam James
@ 2022-10-13 13:08 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2022-10-13 13:08 UTC (permalink / raw)
To: Sam James; +Cc: linux-man
[-- Attachment #1.1: Type: text/plain, Size: 1071 bytes --]
Hi Sam,
On 10/13/22 02:33, Sam James wrote:
> Just like we do with _FILE_OFFSET_BITS in off_t.3type.
>
> Reference: https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration
> Reference: https://sourceware.org/pipermail/libc-alpha/2022-January/134985.html
> Signed-off-by: Sam James <sam@gentoo.org>
Looks good. However, I see there's no documentation at all about
_TIME_BITS in the man-pages. Maybe you want to send a patch for ftm(7)?
Thanks!
Alex
> ---
> man3type/time_t.3type | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/man3type/time_t.3type b/man3type/time_t.3type
> index d40dd0c0d..9b8f07356 100644
> --- a/man3type/time_t.3type
> +++ b/man3type/time_t.3type
> @@ -70,6 +70,12 @@ POSIX.1-2001 and later.
> POSIX.1-2001 and later.
> .PD
> .SH NOTES
> +On some architectures,
> +the width of
> +.I time_t
> +can be controlled with the feature test macro
> +.BR _TIME_BITS .
> +.PP
> .TP
> .I time_t
> The following headers also provide
--
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-13 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-13 0:33 [PATCH] time_t.3type: reference _TIME_BITS Sam James
2022-10-13 13:08 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox