From: Ulrich Drepper Date: Thu, 17 Apr 1997 23:23:45 +0000 (+0000) Subject: Correct prototype in memmem documentation. X-Git-Tag: cvs/libc20x-ud-970417~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12fc66d6513a65d37c4584d95416a7970a62f3c8;p=thirdparty%2Fglibc.git Correct prototype in memmem documentation. --- diff --git a/manual/string.texi b/manual/string.texi index efcc23e59a1..9d242b7c19d 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -881,7 +881,7 @@ strstr ("hello, world", "wo") @comment string.h @comment GNU -@deftypefun {void *} memmem (const void *@var{needle}, size_t @var{needle-len},@*const void *@var{haystack}, size_t @var{haystack-len}) +@deftypefun {void *} memmem (const void *@var{haystack}, size_t @var{haystack-len},@*const void *@var{needle}, size_t @var{needle-len}) This is like @code{strstr}, but @var{needle} and @var{haystack} are byte arrays rather than null-terminated strings. @var{needle-len} is the length of @var{needle} and @var{haystack-len} is the length of