Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Add prototype for memmem(3). It is API compatible wi...
details: https://anonhg.NetBSD.org/src/rev/bc3c46cd1cd3
branches: trunk
changeset: 574808:bc3c46cd1cd3
user: perry <perry%NetBSD.org@localhost>
date: Sun Mar 13 15:09:50 2005 +0000
description:
Add prototype for memmem(3). It is API compatible with the version in Linux.
diffstat:
include/string.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 0e18bbdd5e9d -r bc3c46cd1cd3 include/string.h
--- a/include/string.h Sun Mar 13 14:47:02 2005 +0000
+++ b/include/string.h Sun Mar 13 15:09:50 2005 +0000
@@ -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 @@
#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);
Home |
Main Index |
Thread Index |
Old Index