Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-03-26 08:20:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-04-23 22:57:08 +0300
commit75d5f68aabf62c42884ff935f888b12bbcd00001 (patch)
tree9ca1bf01504bd31f3a182b317d8c2791dfa94dbc /winsup/doc/posix.xml
parentd67052321ec17d82bd7da35ae3fd87eecd7b376f (diff)
cygwin: add GNU basename(3)
winsup/cygwin/ * common.din (__gnu_basename): Export. * path.cc (__gnu_basename): New function. winsup/doc/ * posix.xml (std-gnu): Add basename. (std-notes): Add note about two forms of basename.
Diffstat (limited to 'winsup/doc/posix.xml')
-rw-r--r--winsup/doc/posix.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index 5df808b58..95bc4008c 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -50,7 +50,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
atoi
atol
atoll
- basename
+ basename (see chapter "Implementation Notes")
bind
bsearch
btowc
@@ -1139,6 +1139,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
asnprintf
asprintf
asprintf_r
+ basename (see chapter "Implementation Notes")
canonicalize_file_name
dremf
dup3
@@ -1603,6 +1604,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><function>basename</function> is available in both POSIX and GNU flavors,
+depending on whether libgen.h is included or not.</para>
+
</sect1>
</chapter>