aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-01-26 02:39:20 +0000
committerRoland McGrath <roland@gnu.org>2005-01-26 02:39:20 +0000
commitd68684162bd587ffe94c0f62c9504e5841855ba5 (patch)
treeda04c7e9d1f8908fdb2dc46f1b408fe177524d42 /manual
parentedd806d26f12dd42a3f886af2bc30ae845d959e5 (diff)
downloadglibc-d68684162bd587ffe94c0f62c9504e5841855ba5.tar
glibc-d68684162bd587ffe94c0f62c9504e5841855ba5.tar.gz
glibc-d68684162bd587ffe94c0f62c9504e5841855ba5.tar.bz2
glibc-d68684162bd587ffe94c0f62c9504e5841855ba5.zip
* manual/memory.texi (sbrk): Fix definition.
* manual/string.texi (strcasestr): Fix example typo. 2005-01-25 Roland McGrath <roland@redhat.com> * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
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