summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraaron <>1999-11-10 22:19:22 +0000
committeraaron <>1999-11-10 22:19:22 +0000
commit93d6d1325dc1d298c8a7d51a132a8e99c8d43b52 (patch)
tree333927044055dbf24b8b35269a3280712b375a46 /src
parent810b959a836a5797cd808c2cb2d7380a3569d8e5 (diff)
downloadopenbsd-93d6d1325dc1d298c8a7d51a132a8e99c8d43b52.tar.gz
openbsd-93d6d1325dc1d298c8a7d51a132a8e99c8d43b52.tar.bz2
openbsd-93d6d1325dc1d298c8a7d51a132a8e99c8d43b52.zip
Tweaks; millert@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/malloc.317
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index c9c87cf420..ea8f41e6c5 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: malloc.3,v 1.16 1999/11/09 22:12:36 aaron Exp $ 36.\" $OpenBSD: malloc.3,v 1.17 1999/11/10 22:19:22 aaron Exp $
37.\" 37.\"
38.Dd August 27, 1996 38.Dd August 27, 1996
39.Dt MALLOC 3 39.Dt MALLOC 3
@@ -257,11 +257,12 @@ otherwise a null pointer is returned.
257.Sh MESSAGES 257.Sh MESSAGES
258If 258If
259.Fn malloc , 259.Fn malloc ,
260.Fn free 260.Fn calloc ,
261or
262.Fn realloc 261.Fn realloc
263detects an error or warning condition, 262or
264a message will be printed to filedescriptor 263.Fn free
264detect an error or warning condition,
265a message will be printed to file descriptor
2652 (not using stdio). 2662 (not using stdio).
266Errors will always result in the process being 267Errors will always result in the process being
267.Xr abort 3 'ed. 268.Xr abort 3 'ed.
@@ -277,7 +278,8 @@ fishy in there. Consult sources and or wizards.
277.Pp 278.Pp
278``allocation failed'' 279``allocation failed''
279if the ``A'' option is specified it is an error for 280if the ``A'' option is specified it is an error for
280.Fn malloc 281.Fn malloc ,
282.Fn calloc
281or 283or
282.Fn realloc 284.Fn realloc
283to return 285to return
@@ -325,7 +327,7 @@ a sensible page.
325``recursive call.'' 327``recursive call.''
326You have tried to call recursively into these functions. 328You have tried to call recursively into these functions.
327I can only imagine this as happening if you call one of these 329I can only imagine this as happening if you call one of these
328functions from a signal function, which happens to be called 330functions from a signal handler, which happens to be called
329while you're already in here. 331while you're already in here.
330Well, sorry to say: that's not supported. 332Well, sorry to say: that's not supported.
331If this is a problem for you I'd like to hear about it. It 333If this is a problem for you I'd like to hear about it. It
@@ -343,7 +345,6 @@ symbolic link to file containing option flags
343.Sh SEE ALSO 345.Sh SEE ALSO
344.Xr brk 2 , 346.Xr brk 2 ,
345.Xr alloca 3 , 347.Xr alloca 3 ,
346.Xr calloc 3 ,
347.Xr getpagesize 3 , 348.Xr getpagesize 3 ,
348.Xr memory 3 349.Xr memory 3
349.Pa /usr/share/doc/papers/malloc.ascii.gz 350.Pa /usr/share/doc/papers/malloc.ascii.gz