summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2005-03-13 15:09:50 +0000
committerperry <perry@NetBSD.org>2005-03-13 15:09:50 +0000
commit93c38984496189983015f66ec6ae261a36983e5d (patch)
treed3f075f1beb5ffe0dc77ad6c275d63886f148a4b /include/string.h
parentf7be5521ff10bcb5ecf2f942034dbd9e1c1f8c36 (diff)
Add prototype for memmem(3). It is API compatible with the version in Linux.
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 cbbd5ab6382..11a63ed8b4a 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.28 2005/02/03 04:39:32 perry Exp $ */
+/* $NetBSD: string.h,v 1.29 2005/03/13 15:09:50 perry Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -80,6 +80,7 @@ char *strdup(const char *);
#if defined(_NETBSD_SOURCE)
#include <strings.h> /* for backwards-compatibilty */
+void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);