summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/Makefile.inc
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-10-09 01:29:56 +0000
committermike <mike@FreeBSD.org>2001-10-09 01:29:56 +0000
commit9a27a4f0fe38f10e63129f3c8a66f7518bcec44d (patch)
treee211e48c706a6cba3be5da1192f50a34f20109a8 /lib/libc/string/Makefile.inc
parent5c6420034e70959dbac169b4709905cd37b3ec5f (diff)
downloadFreeBSD-src-9a27a4f0fe38f10e63129f3c8a66f7518bcec44d.zip
FreeBSD-src-9a27a4f0fe38f10e63129f3c8a66f7518bcec44d.tar.gz
Add a new libc function, strnstr(3), which allows one to limit the
number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r--lib/libc/string/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc
index 9c9f369..dcd2dfd 100644
--- a/lib/libc/string/Makefile.inc
+++ b/lib/libc/string/Makefile.inc
@@ -10,6 +10,7 @@ MISRCS+=bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \
memcpy.c memmove.c memset.c rindex.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 \
+ 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 wcscpy.c wcscspn.c \
wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c \
@@ -36,6 +37,7 @@ MLINKS+=strcpy.3 strncpy.3
MLINKS+=strerror.3 perror.3 strerror.3 sys_errlist.3 strerror.3 sys_nerr.3
MLINKS+=strlcpy.3 strlcat.3
MLINKS+=strtok.3 strtok_r.3
+MLINKS+=strstr.3 strnstr.3
MLINKS+=wmemchr.3 wmemcmp.3 wmemchr.3 wmemcpy.3 \
wmemchr.3 wmemmove.3 wmemchr.3 wmemset.3 \
wmemchr.3 wcscat.3 wmemchr.3 wcschr.3 \
OpenPOWER on IntegriCloud