summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-17 23:23:45 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-17 23:23:45 +0000
commit12fc66d6513a65d37c4584d95416a7970a62f3c8 (patch)
tree4fde0235975f363e07b4ef377990fd98da4d6b50 /manual
parentf1ecbef29eaa611501c7be3766e26ba846e7eac7 (diff)
Correct prototype in memmem documentation.
Diffstat (limited to 'manual')
-rw-r--r--manual/string.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/string.texi b/manual/string.texi
index efcc23e59a..9d242b7c19 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