From d254189b38bb5b0b77a18a401c05c415ce0733c9 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 23 Jul 2002 21:38:00 +0000 Subject: 2002-07-23 Jeff Johnston * libc/include/string.h: Add mempcpy, strndup, and _strndup_r prototypes. * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strdup.c: Removed. * libc/stdlib/strdup_r.c: Removed. * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c, mempcpy.c, strndup.c, and strndup_r.c. * libc/string/Makefile.in: Regenerated. * libc/string/memccpy.c: New file. * libc/string/mempcpy.c: Ditto. * libc/string/strndup.c: Ditto. * libc/string/strndup_r.c: Ditto. * libc/string/strdup.c: New file moved from stdlib. * libc/string/strdup_r.c: Ditto. * libc/string/strings.tex: Add memccpy and mempcpy documentation. --- 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 f70580b2c..b5435033a 100644 --- a/newlib/libc/string/strings.tex +++ b/newlib/libc/string/strings.tex @@ -10,10 +10,12 @@ managing areas of memory. The corresponding declarations are in * bcopy:: Copy memory regions * bzero:: Initialize memory to zero * index:: Search for character in string +* memccpy:: Copy memory regions up to end-token * memchr:: Find character in memory * memcmp:: Compare two memory areas * memcpy:: Copy memory regions * memmove:: Move possibly overlapping memory +* mempcpy:: Copy memory regions and locate end * memset:: Set an area of memory * rindex:: Reverse search for character in string * strcasecmp:: Compare strings ignoring case @@ -52,6 +54,9 @@ managing areas of memory. The corresponding declarations are in @page @include string/index.def +@page +@include string/memcccpy.def + @page @include string/memchr.def @@ -64,6 +69,9 @@ managing areas of memory. The corresponding declarations are in @page @include string/memmove.def +@page +@include string/mempcpy.def + @page @include string/memset.def -- cgit v1.2.3