summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-25 18:26:58 +0000
committerandre <andre@FreeBSD.org>2005-08-25 18:26:58 +0000
commit45fd598f4942e0ea7d9bb2098d535eb046cfc00c (patch)
tree2f1fcdc8a52ba5e5b1514b1acb657de861faeded /lib/libc/string/Makefile.inc
parent07a0e1e154365c2461f41a99ec29ae4aa16d3905 (diff)
downloadFreeBSD-src-45fd598f4942e0ea7d9bb2098d535eb046cfc00c.zip
FreeBSD-src-45fd598f4942e0ea7d9bb2098d535eb046cfc00c.tar.gz
Add the function memmem(3) as found in glibc and others.
It is the binary equivalent to strstr(3). void *memmem(const void *big, size_t big_len, const void *little, size_t little_len); Submitted by: Pascal Gloor <pascal.gloor at spale.com> MFC after: 3 days
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r--lib/libc/string/Makefile.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index e6d8ea5..77fe8e0 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -8,10 +8,10 @@ CFLAGS+= -I${.CURDIR}/locale
# machine-independent string sources
MISRCS+=bcmp.c bcopy.c bzero.c ffs.c ffsl.c fls.c flsl.c index.c memccpy.c \
memchr.c memcmp.c \
- memcpy.c memmove.c memset.c rindex.c stpcpy.c strcasecmp.c strcat.c \
- strchr.c strcmp.c strcoll.c strcpy.c strcspn.c strdup.c strerror.c \
- strlcat.c strlcpy.c strlen.c strmode.c strncat.c strncmp.c strncpy.c \
- strcasestr.c strnstr.c \
+ memcpy.c memmem.c memmove.c memset.c rindex.c stpcpy.c strcasecmp.c \
+ strcat.c strchr.c strcmp.c strcoll.c strcpy.c strcspn.c strdup.c \
+ strerror.c strlcat.c strlcpy.c strlen.c strmode.c strncat.c strncmp.c \
+ strncpy.c strcasestr.c strnstr.c \
strpbrk.c strrchr.c strsep.c strsignal.c strspn.c strstr.c strtok.c \
strxfrm.c swab.c wcscat.c wcschr.c wcscmp.c wcscoll.c wcscpy.c \
wcscspn.c wcsdup.c \
@@ -27,7 +27,7 @@ MISRCS+=bcmp.c bcopy.c bzero.c ffs.c ffsl.c fls.c flsl.c index.c memccpy.c \
.endif
MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
- memcmp.3 memcpy.3 memmove.3 memset.3 strcasecmp.3 strcat.3 \
+ memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 strcasecmp.3 strcat.3 \
strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \
string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \
strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 wcscoll.3 wcstok.3 \
OpenPOWER on IntegriCloud