about summary refs log tree commit diff
path: root/manual/string.texi
diff options
context:
space:
mode:
Diffstat (limited to 'manual/string.texi')
-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