summaryrefslogtreecommitdiff
path: root/doc/safe-alloc.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-12-27 01:16:25 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-12-27 01:24:17 -0800
commit72fa964ff7b6a1e8359c83e34765af885fc60ebe (patch)
treebd9d8d9a9342ff7343ca91bffc93b4e18e1214f7 /doc/safe-alloc.texi
parent200969d8ebed76c9b82837406a87cc767fafac1b (diff)
downloadgnulib-72fa964ff7b6a1e8359c83e34765af885fc60ebe.tar.gz
Hyphen and dash fixes.
Diffstat (limited to 'doc/safe-alloc.texi')
-rw-r--r--doc/safe-alloc.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/safe-alloc.texi b/doc/safe-alloc.texi
index 9b7de06a56..60304472ff 100644
--- a/doc/safe-alloc.texi
+++ b/doc/safe-alloc.texi
@@ -45,7 +45,7 @@ Allocate @code{sizeof(*ptr)} bytes of memory and store the address of
allocated memory in @code{ptr}. Fill the newly allocated memory with
zeros.
-Returns -1 on failure, 0 on success.
+Returns @minus{}1 on failure, 0 on success.
@end defmac
@defmac {int} ALLOC_N (ptr, count)
@@ -54,7 +54,7 @@ Allocate an array of @code{count} elements, each @code{sizeof(*ptr)}
bytes long, and store the address of allocated memory in
@code{ptr}. Fill the newly allocated memory with zeros.
-Returns -1 on failure, 0 on success.
+Returns @minus{}1 on failure, 0 on success.
@end defmac
@defmac {int} ALLOC_N_UNINITIALIZED (ptr, count)
@@ -63,7 +63,7 @@ Allocate an array of @code{count} elements, each @code{sizeof(*ptr)}
bytes long, and store the address of allocated memory in
@code{ptr}. The allocated memory is not initialized.
-Returns -1 on failure, 0 on success.
+Returns @minus{}1 on failure, 0 on success.
@end defmac
@defmac {int} REALLOC_N (ptr, count)
@@ -73,7 +73,7 @@ at least @code{count} elements, each @code{sizeof(*ptr)} bytes long,
and store the address of allocated memory in @code{ptr}. If
reallocation fails, the @code{ptr} variable is not modified.
-Returns -1 on failure, 0 on success.
+Returns @minus{}1 on failure, 0 on success.
@end defmac
@defmac {void} FREE (ptr)