This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Document renameat2


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

commit 3012e251fa3e41dc12b636f2a1280973c587ad6b
Author: Ken Brown <kbrown@cornell.edu>
Date:   Sat Aug 19 13:15:04 2017 -0400

    Document renameat2

Diff:
---
 winsup/cygwin/release/2.9.0 | 2 ++
 winsup/doc/new-features.xml | 4 ++++
 winsup/doc/posix.xml        | 4 ++++
 3 files changed, 10 insertions(+)

diff --git a/winsup/cygwin/release/2.9.0 b/winsup/cygwin/release/2.9.0
index 421d6f2..ac4c649 100644
--- a/winsup/cygwin/release/2.9.0
+++ b/winsup/cygwin/release/2.9.0
@@ -6,6 +6,8 @@ What's new:
 - New APIs: pthread_mutex_timedwait, pthread_rwlock_timedrdlock,
 	    pthread_rwlock_timedwrlock.
 
+- New API: renameat2.
+
 
 What changed:
 -------------
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index 23673d1..0aa8577 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -18,6 +18,10 @@ pthread_rwlock_timedwrlock.
 </para></listitem>
 
 <listitem><para>
+New API: renameat2.
+</para></listitem>
+
+<listitem><para>
 Improved implementation of &lt;elf.h&gt;.
 </para></listitem>
 
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index a2fffee..6e96272 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1356,6 +1356,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
     ptsname_r
     putwc_unlocked
     putwchar_unlocked
+    renameat2			(see chapter "Implementation Notes")
     qsort_r			(see chapter "Implementation Notes")
     quotactl
     rawmemchr
@@ -1671,6 +1672,9 @@ group quotas, no inode quotas, no time constraints.</para>
 <para><function>qsort_r</function> is available in both BSD and GNU flavors,
 depending on whether _BSD_SOURCE or _GNU_SOURCE is defined when compiling.</para>
 
+<para>The Linux-specific function <function>renameat2</function> only
+supports the RENAME_NOREPLACE flag.</para>
+
 <para><function>basename</function> is available in both POSIX and GNU flavors,
 depending on whether libgen.h is included or not.</para>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]