From 5d8b97a6942169497ba891acf86725ec87afa60b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 28 Jun 2007 17:07:23 +0000 Subject: * libc/include/string.h: Add prototypes for stpcpy and stpncpy. * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and stpncpy.c. (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def. * libc/string/Makefile.in: Regenerate. * libc/string/stpcpy.c: New file. * libc/string/stpncpy.c: New file. * libc/string/strings.tex: Add stpcpy and stpncpy. --- newlib/libc/string/strings.tex | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'newlib/libc/string/strings.tex') diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex index 5d43fd56b..5ba6e0fe5 100644 --- a/newlib/libc/string/strings.tex +++ b/newlib/libc/string/strings.tex @@ -18,6 +18,8 @@ managing areas of memory. The corresponding declarations are in * mempcpy:: Copy memory regions and locate end * memset:: Set an area of memory * rindex:: Reverse search for character in string +* stpcpy:: Copy string returning a pointer to its end +* stpncpy:: Counted copy string returning a pointer to its end * strcasecmp:: Compare strings ignoring case * strcasestr:: Find string segment ignoring case * strcat:: Concatenate strings @@ -81,6 +83,12 @@ managing areas of memory. The corresponding declarations are in @page @include string/rindex.def +@page +@include string/stpcpy.def + +@page +@include string/stpncpy.def + @page @include string/strcasecmp.def -- cgit v1.2.3