From: Yaakov Selkowitz Date: Fri, 5 Dec 2014 16:33:02 +0000 (+0000) Subject: * new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r. X-Git-Tag: sid-snapshot-20150101~38 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5acd9c007f160caeab957bf9ce9fd5302603bff4;p=newlib-cygwin.git * new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r. * posix.xml (std-bsd): Add qsort_r. (std-gnu): Ditto. (std-notes): Add section for qsort_r. --- diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 9684a65af..3a2ab48e9 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,10 @@ +2014-12-05 Yaakov Selkowitz + + * new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r. + * posix.xml (std-bsd): Add qsort_r. + (std-gnu): Ditto. + (std-notes): Add section for qsort_r. + 2014-12-03 Corinna Vinschen * new-features.xml (ov-new1.7.34): Add latest changes. diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index a0bc4422a..91b7714cf 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -51,6 +51,10 @@ When spawning a process under another user account, merge the user's default Windows environment into the new process' environment. + +New APIs: qsort_r, __bsd_qsort_r. + + diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 238153803..2949a52c3 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -1047,6 +1047,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). madvise mkstemps openpty + qsort_r (see chapter "Implementation Notes") rcmd rcmd_af reallocf @@ -1175,6 +1176,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). pthread_getattr_np pthread_sigqueue ptsname_r + qsort_r (see chapter "Implementation Notes") quotactl rawmemchr removexattr @@ -1568,6 +1570,9 @@ available when cygserver is running. what works on Windows: Windows only supports user block quotas on NTFS, no group quotas, no inode quotas, no time constraints. +qsort_r is available in both BSD and GNU flavors, +depending on whether _BSD_SOURCE or _GNU_SOURCE is defined when compiling. +