Re: dup3(2) now specified by POSIX.1-2024
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-04-21 20:54:17
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-04-21 20:54:17
Hi Collin, On Mon, Apr 21, 2025 at 01:42:50PM -0700, Collin Funk wrote:
Alejandro Colomar [off-list ref] writes:quoted
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/>