diff options
author | Mike Barcroft <mike@FreeBSD.org> | 2001-10-09 01:29:56 +0000 |
---|---|---|
committer | Mike Barcroft <mike@FreeBSD.org> | 2001-10-09 01:29:56 +0000 |
commit | 41036d782dab06714e1f93c6bb47ed22ac8747af (patch) | |
tree | e211e48c706a6cba3be5da1192f50a34f20109a8 /lib/libc/string/Makefile.inc | |
parent | cabacc4a0ab97629d9a4e4308e40a7bfce1e85e7 (diff) |
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
Notes
Notes:
svn path=/head/; revision=84699
Diffstat (limited to 'lib/libc/string/Makefile.inc')
-rw-r--r-- | lib/libc/string/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc index 9c9f369825db..dcd2dfd2e1fa 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 \ |