[PATCH v6 1/8] Cygwin: winsup/doc/posix.xml: SUS V5 POSIX 2024 move new entries
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jan 16 17:19:42 GMT 2025
Hi Brian,
On Jan 15 12:39, Brian Inglis wrote:
> + aligned_alloc (ISO C11)
> + assert (SVID - available in "assert.h" header)
> + at_quick_exit (ISO C11)
> + c16rtomb (ISO C11)
> + c32rtomb (ISO C11)
The source hint in parens should go away. Everything which *is* in
POSIX *and* part of the newlib/Cygwin package, doesn't need a source
hint.
> + mbrtoc16 (ISO C23 - available in "uchar.h" header)
> + mbrtoc32 (ISO C23 - available in "uchar.h" header)
And these are wrong, btw. mbrtoc16/mbrtoc32 are C11 just like
c16rtomb/c32rtomb. Only the c8 variants are C23. But given they
are POSIX and implemented in Cygwin itself, just scratch the hint.
> + dladdr (see <xref linkend="std-notes">chapter "Implementation Notes"</xref>)
> encrypt (available in external "crypt" library)
These are still ok and the only type of hints which should be maintained
in the SUS chapter.
> + posix_spawn_file_actions_addchdir (available as posix_spawn_file_actions_addchdir_np)
> + posix_spawn_file_actions_addfchdir (available as posix_spawn_file_actions_addfchdir_np)
Oh, I missed that these two are defined in POSIX now. Scratch the hint,
I'll change the header and add matching exports, and...
> - posix_spawn_file_actions_addchdir_np
> - posix_spawn_file_actions_addfchdir_np
...these two should stay where they are.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list