[newlib-cygwin] Export aligned_alloc, at_quick_exit, quick_exit.

Corinna Vinschen corinna@sourceware.org
Thu Oct 22 14:21:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6b457615e6bee7d88da6e5b88428d2fc58cdf1be

commit 6b457615e6bee7d88da6e5b88428d2fc58cdf1be
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Oct 22 16:21:17 2015 +0200

    Export aligned_alloc, at_quick_exit, quick_exit.
    
    	* common.din (aligned_alloc): Export.
    	(at_quick_exit): Export.
    	(quick_exit): Export.
    
    	* posix.xml (std-iso): New section.
    	(std-deprec): Rearrange title text.
    	* new-features.xml (ov-new2.3): Document aligned_alloc, at_quick_exit,
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/ChangeLog                |  6 ++++++
 winsup/cygwin/common.din               |  3 +++
 winsup/cygwin/include/cygwin/version.h |  3 ++-
 winsup/cygwin/release/2.3.0            |  2 ++
 winsup/doc/ChangeLog                   |  7 +++++++
 winsup/doc/new-features.xml            |  4 ++++
 winsup/doc/posix.xml                   | 12 +++++++++++-
 7 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f09c3d7..15e4902 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,11 @@
 2015-10-22  Corinna Vinschen  <corinna@vinschen.de>
 
+	* common.din (aligned_alloc): Export.
+	(at_quick_exit): Export.
+	(quick_exit): Export.
+
+2015-10-22  Corinna Vinschen  <corinna@vinschen.de>
+
 	* sec_helper.cc (cygsid::get_sid): Don't reject SIDs with missing
 	subauthorities.
 
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 71a0c9b..5d22e97 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -130,6 +130,7 @@ acosf NOSIGFE
 acosh NOSIGFE
 acoshf NOSIGFE
 alarm SIGFE
+aligned_alloc SIGFE
 alphasort NOSIGFE
 arc4random NOSIGFE
 arc4random_addrandom NOSIGFE
@@ -168,6 +169,7 @@ atoff SIGFE
 atoi NOSIGFE
 atol NOSIGFE
 atoll NOSIGFE
+at_quick_exit SIGFE
 basename NOSIGFE
 bcmp NOSIGFE
 bcopy NOSIGFE
@@ -957,6 +959,7 @@ putwc_unlocked SIGFE
 putwchar SIGFE
 putwchar_unlocked SIGFE
 pwrite SIGFE
+quick_exit SIGFE
 qsort NOSIGFE
 qsort_r NOSIGFE
 quotactl SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 3b14ff4..fde82e9 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -472,13 +472,14 @@ details. */
       288: Export getcontext, makecontext, setcontext, swapcontext.
       289: Export sigsetjmp, siglongjmp.
       290: Add sysconf cache handling.
+      291: Export aligned_alloc, at_quick_exit, quick_exit.
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull,
 	sigaltstack, sethostname. */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 290
+#define CYGWIN_VERSION_API_MINOR 291
 
      /* There is also a compatibity version number associated with the
 	shared memory regions.  It is incremented when incompatible
diff --git a/winsup/cygwin/release/2.3.0 b/winsup/cygwin/release/2.3.0
index 1fc92d2..14ca3d4 100644
--- a/winsup/cygwin/release/2.3.0
+++ b/winsup/cygwin/release/2.3.0
@@ -14,6 +14,8 @@ What's new:
   _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE,
   _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE
 
+- New API: aligned_alloc, at_quick_exit, quick_exit.
+
 
 What changed:
 -------------
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 7e85a76..cd6563b 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,10 @@
+2015-10-22  Corinna Vinschen  <corinna@vinschen.de>
+
+	* posix.xml (std-iso): New section.
+	(std-deprec): Rearrange title text.
+	* new-features.xml (ov-new2.3): Document aligned_alloc, at_quick_exit,
+	quick_exit.
+
 2015-10-06  Ken Brown  <kbrown@cornell.edu>
 
 	* faq-using.xml (faq.using.same-with-permissions): New entry.
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index fc53b01..4e0f3e2 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -27,6 +27,10 @@ sysconf() now supports returning CPU cache information:
   </screen>
 </para></listitem>
 
+<listitem><para>
+New API: aligned_alloc, at_quick_exit, quick_exit.
+</para></listitem>
+
 </itemizedlist>
 
 </sect2>
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index 112ddc8..dc6c148 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1306,9 +1306,19 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
     xdrstdio_create		(available in external "libtirpc" library)
 </screen>
 
+<sect1 id="std-iso"><title>System interfaces not in POSIX but compatible with ISO C requirements:</title>
+
+<screen>
+    aligned_alloc		(ISO C11)
+    at_quick_exit		(ISO C11)
+    quick_exit			(ISO C11)
+</screen>
+
+</sect1>
+
 </sect1>
 
-<sect1 id="std-deprec"><title>Other UNIX system interfaces, deprecated or not in POSIX.1-2008:</title>
+<sect1 id="std-deprec"><title>Other UNIX system interfaces, not in POSIX.1-2008 or deprecated:</title>
 
 <screen>
     bcmp			(POSIX.1-2001, SUSv3)



More information about the Cygwin-cvs mailing list