summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-10-23 06:08:49 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2001-10-23 06:08:49 (GMT)
commit0ba726c69d01f7a80003883c3a71a7f1979c1803 (patch)
tree76c2dad09c0b85191a6eb30f4d8bbfbabe96e400
parentc879222c43f28106db59250965f1e7a26d2cb055 (diff)
downloadlpsm-0ba726c69d01f7a80003883c3a71a7f1979c1803.zip
lpsm-0ba726c69d01f7a80003883c3a71a7f1979c1803.tar.gz
lpsm-0ba726c69d01f7a80003883c3a71a7f1979c1803.tar.bz2
lpsm-0ba726c69d01f7a80003883c3a71a7f1979c1803.tar.xz
Use a standard format ERRORS section.
-rw-r--r--lpsm_malloc.3.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/lpsm_malloc.3.in b/lpsm_malloc.3.in
index 52acd65..c364b42 100644
--- a/lpsm_malloc.3.in
+++ b/lpsm_malloc.3.in
@@ -77,7 +77,7 @@ the call is equivalent to
\fBlpsm_malloc(\fP\fIsize\fP\fB)\fP;
if size is equal to zero,
the call is equivalent to
-.BI "lpsm_free(" "ptr" ) .
+\fBlpsm_free(\fP\fIptr\fP\fB)\fP.
Unless
.I ptr
is
@@ -131,16 +131,14 @@ If
.B lpsm_realloc()
fails the original block is left untouched - it is not freed or moved.
.SH "ERRORS"
-On error,
+.TP
+ENOMEM
.BR lpsm_malloc() ,
.BR lpsm_zalloc() ,
.BR lpsm_calloc()
or
.BR lpsm_realloc()
-sets
-.I errno
-to
-.BR ENOMEM .
+were unable to allocate the memory requested.
.SH "CONFORMING TO"
These functions mimic in as much as possible the ISO C and POSIX
behaviour of the equivalent transient memory allocation functions.