]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct prototype in memmem documentation.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Apr 1997 23:23:45 +0000 (23:23 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Apr 1997 23:23:45 +0000 (23:23 +0000)
manual/string.texi

index efcc23e59a105c5ec41d55b4d32a89110bdf4b7c..9d242b7c19d29e17bdd5d8348fed8d37353e4220 100644 (file)
@@ -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