summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/memory.texi2
-rw-r--r--manual/string.texi4
2 files changed, 3 insertions, 3 deletions
diff --git a/manual/memory.texi b/manual/memory.texi
index 91abb7f5d4..ee2cd75c44 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -2384,7 +2384,7 @@ exceed the process' data storage limit.
@comment unistd.h
@comment BSD
-@deftypefun int sbrk (ptrdiff_t @var{delta})
+@deftypefun void *sbrk (ptrdiff_t @var{delta})
This function is the same as @code{brk} except that you specify the new
end of the data segment as an offset @var{delta} from the current end
and on success the return value is the address of the resulting end of
diff --git a/manual/string.texi b/manual/string.texi
index 21ab71461a..d9de12996e 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1781,9 +1781,9 @@ uppercase and lowercase characters are related.
For example,
@smallexample
-strstr ("hello, world", "L")
+strcasestr ("hello, world", "L")
@result{} "llo, world"
-strstr ("hello, World", "wo")
+strcasestr ("hello, World", "wo")
@result{} "World"
@end smallexample
@end deftypefun