summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-30 03:04:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-30 03:04:20 +0000
commitb81ec70920b5a2bf230fedf7efa289c98ee282d6 (patch)
tree1eb33d658a530b0d8db04b06fde37f822404c238 /include/string.h
parent9f010b9c59bc30b2e12d68c4fcda6139182b6fd9 (diff)
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd
and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index c33598079cd..745be2d62c0 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: string.h,v 1.14 2004/06/20 17:47:07 avsm Exp $ */
+/* $OpenBSD: string.h,v 1.15 2005/03/30 03:04:16 deraadt Exp $ */
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
/*-
@@ -101,6 +101,7 @@ void *memccpy(void *, const void *, int, size_t)
char *rindex(const char *, int);
int strcasecmp(const char *, const char *);
char *strdup(const char *);
+char *strcasestr(const char *, const char *);
size_t strlcat(char *, const char *, size_t)
__attribute__ ((__bounded__(__string__,1,3)));
size_t strlcpy(char *, const char *, size_t)