* dup3(2) now specified by POSIX.1-2024
@ 2025-04-21 20:30 Alejandro Colomar
2025-04-21 20:42 ` Collin Funk
0 siblings, 1 reply; 3+ messages in thread
From: Alejandro Colomar @ 2025-04-21 20:30 UTC (permalink / raw)
To: libc-alpha; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
Hi!
dup3(2) is now specified by POSIX.1-2024. It should be provided when
the POSIX feature test macros are used. Are there any POSIX.1-2024
macros yet, or is there any ongoing work for that?
Have a lovely night!
Alex
--
<https://www.alejandro-colomar.es/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dup3(2) now specified by POSIX.1-2024
2025-04-21 20:30 dup3(2) now specified by POSIX.1-2024 Alejandro Colomar
@ 2025-04-21 20:42 ` Collin Funk
2025-04-21 20:54 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: Collin Funk @ 2025-04-21 20:42 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: libc-alpha, linux-man
Alejandro Colomar <alx@kernel.org> writes:
> dup3(2) is now specified by POSIX.1-2024. It should be provided when
> the POSIX feature test macros are used. Are there any POSIX.1-2024
> macros yet, or is there any ongoing work for that?
I started working on conform tests for ISO C23 [1]. It is my goal to
work on updating conform for C23 and then moving to POSIX.1-2024.
That will involve updating the feature macros like __USE_GNU to use new
ones defined under _POSIX_C_SOURCE==202405L || _XOPEN_SOURCE==800.
Collin
[1] https://public-inbox.org/libc-alpha/20250413231200.549774-1-collin.funk1@gmail.com/T/#t
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dup3(2) now specified by POSIX.1-2024
2025-04-21 20:42 ` Collin Funk
@ 2025-04-21 20:54 ` Alejandro Colomar
0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2025-04-21 20:54 UTC (permalink / raw)
To: Collin Funk; +Cc: libc-alpha, linux-man
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]
Hi Collin,
On Mon, Apr 21, 2025 at 01:42:50PM -0700, Collin Funk wrote:
> Alejandro Colomar <alx@kernel.org> writes:
>
> > dup3(2) is now specified by POSIX.1-2024. It should be provided when
> > the POSIX feature test macros are used. Are there any POSIX.1-2024
> > macros yet, or is there any ongoing work for that?
>
> I started working on conform tests for ISO C23 [1]. It is my goal to
> work on updating conform for C23 and then moving to POSIX.1-2024.
>
> That will involve updating the feature macros like __USE_GNU to use new
> ones defined under _POSIX_C_SOURCE==202405L || _XOPEN_SOURCE==800.
Thanks! Please let me know when you're done with C23; we should
document that in the manual pages.
Have a lovely night!
Alex
>
> Collin
>
> [1] https://public-inbox.org/libc-alpha/20250413231200.549774-1-collin.funk1@gmail.com/T/#t
--
<https://www.alejandro-colomar.es/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-21 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21 20:30 dup3(2) now specified by POSIX.1-2024 Alejandro Colomar
2025-04-21 20:42 ` Collin Funk
2025-04-21 20:54 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox