Add POSIX new additions available as header macros and inline functions,
or exported by Cygwin distro DLL or library packages

Signed-off-by: Brian Inglis <brian.ing...@systematicsw.ab.ca>
---
 winsup/doc/posix.xml | 61 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index 949333b0c36c..0b23a2251028 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -16,6 +16,9 @@ ISO/IEC DIS 9945 Information technology
 - Issue 8.</para>
 
 <screen>
+    CMPLX                      (available in "complex.h" header)
+    CMPLXF                     (available in "complex.h" header)
+    CMPLXL                     (available in "complex.h" header)
     FD_CLR
     FD_ISSET
     FD_SET
@@ -74,8 +77,41 @@ ISO/IEC DIS 9945 Information technology
     atoi
     atol
     atoll
+    atomic_compare_exchange_strong             (available in "stdatomic.h" 
header)
+    atomic_compare_exchange_strong_explicit    (available in "stdatomic.h" 
header)
+    atomic_compare_exchange_weak               (available in "stdatomic.h" 
header)
+    atomic_compare_exchange_weak_explicit      (available in "stdatomic.h" 
header)
+    atomic_exchange            (available in "stdatomic.h" header)
+    atomic_exchange_explicit   (available in "stdatomic.h" header)
+    atomic_fetch_add           (available in "stdatomic.h" header)
+    atomic_fetch_add_explicit  (available in "stdatomic.h" header)
+    atomic_fetch_and           (available in "stdatomic.h" header)
+    atomic_fetch_and_explicit  (available in "stdatomic.h" header)
+    atomic_fetch_or            (available in "stdatomic.h" header)
+    atomic_fetch_or_explicit   (available in "stdatomic.h" header)
+    atomic_fetch_sub           (available in "stdatomic.h" header)
+    atomic_fetch_sub_explicit  (available in "stdatomic.h" header)
+    atomic_fetch_xor           (available in "stdatomic.h" header)
+    atomic_fetch_xor_explicit  (available in "stdatomic.h" header)
+    atomic_flag_clear          (available in "stdatomic.h" header)
+    atomic_flag_clear_explicit (available in "stdatomic.h" header)
+    atomic_flag_test_and_set   (available in "stdatomic.h" header)
+    atomic_flag_test_and_set_explicit  (available in "stdatomic.h" header)
+    atomic_init                        (available in "stdatomic.h" header)
+    atomic_is_lock_free                (available in "stdatomic.h" header)
+    atomic_load                        (available in "stdatomic.h" header)
+    atomic_load_explicit       (available in "stdatomic.h" header)
+    atomic_signal_fence                (available in "stdatomic.h" header)
+    atomic_store               (available in "stdatomic.h" header)
+    atomic_store_explicit      (available in "stdatomic.h" header)
+    atomic_thread_fence                (available in "stdatomic.h" header)
     basename                   (see <xref linkend="std-notes">chapter 
"Implementation Notes"</xref>)
+    be16toh                    (available in "endian.h" header)
+    be32toh                    (available in "endian.h" header)
+    be64toh                    (available in "endian.h" header)
     bind
+    bind_textdomain_codeset    (available in external gettext "libintl" 
library)
+    bindtextdomain             (available in external gettext "libintl" 
library)
     bsearch
     btowc
     c16rtomb                   (ISO C11)
@@ -206,6 +242,9 @@ ISO/IEC DIS 9945 Information technology
     dbm_nextkey                        (available in external "libgdbm" 
library)
     dbm_open                   (available in external "libgdbm" library)
     dbm_store                  (available in external "libgdbm" library)
+    dcgettext                  (available in external gettext "libintl" 
library)
+    dcngettext                 (available in external gettext "libintl" 
library)
+    dgettext                   (available in external gettext "libintl" 
library)
     difftime
     dirfd
     dirname
@@ -215,6 +254,7 @@ ISO/IEC DIS 9945 Information technology
     dlerror
     dlopen
     dlsym
+    dngettext                  (available in external gettext "libintl" 
library)
     dprintf
     drand48
     dup
@@ -359,6 +399,7 @@ ISO/IEC DIS 9945 Information technology
     getdelim
     getdomainname
     getegid
+    getentropy                 (Cygwin DLL)
     getenv
     geteuid
     getgid
@@ -372,6 +413,7 @@ ISO/IEC DIS 9945 Information technology
     gethostname
     getitimer                  (see <xref linkend="std-notes">chapter 
"Implementation Notes"</xref>)
     getline
+    getlocalename_l            (Cygwin DLL)
     getlogin
     getlogin_r
     getnameinfo
@@ -400,6 +442,7 @@ ISO/IEC DIS 9945 Information technology
     getsockname
     getsockopt
     getsubopt
+    gettext                    (available in external gettext "libintl" 
library)
     gettimeofday
     getuid
     getutxent
@@ -415,6 +458,12 @@ ISO/IEC DIS 9945 Information technology
     hcreate
     hdestroy
     hsearch
+    htobe16                    (available in "endian.h" header)
+    htobe32                    (available in "endian.h" header)
+    htobe64                    (available in "endian.h" header)
+    htole16                    (available in "endian.h" header)
+    htole32                    (available in "endian.h" header)
+    htole64                    (available in "endian.h" header)
     htonl
     htons
     hypot
@@ -432,6 +481,8 @@ ISO/IEC DIS 9945 Information technology
     ilogbl
     imaxabs
     imaxdiv
+    in6addr_any                        (Cygwin DLL)
+    in6addr_loopback           (Cygwin DLL)
     inet_addr
     inet_ntoa
     inet_ntop
@@ -506,6 +557,7 @@ ISO/IEC DIS 9945 Information technology
     jn
     jrand48
     kill
+    kill_dependency            (available in GCC "stdatomic.h" header)
     killpg
     l64a
     labs
@@ -515,6 +567,9 @@ ISO/IEC DIS 9945 Information technology
     ldexpf
     ldexpl
     ldiv
+    le16toh                    (available in "endian.h" header)
+    le32toh                    (available in "endian.h" header)
+    le64toh                    (available in "endian.h" header)
     lfind
     lgamma
     lgammaf
@@ -634,6 +689,7 @@ ISO/IEC DIS 9945 Information technology
     nexttowardf
     nexttowardl
     nftw
+    ngettext                   (available in external gettext "libintl" 
library)
     nice                       (see <xref linkend="std-notes">chapter 
"Implementation Notes"</xref>)
     nl_langinfo
     nl_langinfo_l
@@ -660,6 +716,7 @@ ISO/IEC DIS 9945 Information technology
     popen
     posix_fadvise
     posix_fallocate
+    posix_getdents             (Cygwin DLL)
     posix_madvise
     posix_memalign
     posix_openpt
@@ -722,6 +779,8 @@ ISO/IEC DIS 9945 Information technology
     pthread_barrierattr_init
     pthread_barrierattr_setpshared
     pthread_cancel
+    pthread_cleanup_pop                (available in "pthread.h" header)
+    pthread_cleanup_push       (available in "pthread.h" header)
     pthread_cond_broadcast
     pthread_cond_clockwait
     pthread_cond_destroy
@@ -1047,6 +1106,7 @@ ISO/IEC DIS 9945 Information technology
     tdelete
     telldir
     tempnam
+    textdomain                 (available in external gettext "libintl" 
library)
     tfind
     tgamma
     tgammaf
@@ -1066,6 +1126,7 @@ ISO/IEC DIS 9945 Information technology
     timer_gettime
     timer_settime
     times
+    timespec_get               (Cygwin DLL)
     timezone
     tmpfile
     tmpnam
-- 
2.45.1

Reply via email to