diff options
| -rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 17 |
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 |
| 258 | If | 258 | If |
| 259 | .Fn malloc , | 259 | .Fn malloc , |
| 260 | .Fn free | 260 | .Fn calloc , |
| 261 | or | ||
| 262 | .Fn realloc | 261 | .Fn realloc |
| 263 | detects an error or warning condition, | 262 | or |
| 264 | a message will be printed to filedescriptor | 263 | .Fn free |
| 264 | detect an error or warning condition, | ||
| 265 | a message will be printed to file descriptor | ||
| 265 | 2 (not using stdio). | 266 | 2 (not using stdio). |
| 266 | Errors will always result in the process being | 267 | Errors 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'' |
| 279 | if the ``A'' option is specified it is an error for | 280 | if the ``A'' option is specified it is an error for |
| 280 | .Fn malloc | 281 | .Fn malloc , |
| 282 | .Fn calloc | ||
| 281 | or | 283 | or |
| 282 | .Fn realloc | 284 | .Fn realloc |
| 283 | to return | 285 | to return |
| @@ -325,7 +327,7 @@ a sensible page. | |||
| 325 | ``recursive call.'' | 327 | ``recursive call.'' |
| 326 | You have tried to call recursively into these functions. | 328 | You have tried to call recursively into these functions. |
| 327 | I can only imagine this as happening if you call one of these | 329 | I can only imagine this as happening if you call one of these |
| 328 | functions from a signal function, which happens to be called | 330 | functions from a signal handler, which happens to be called |
| 329 | while you're already in here. | 331 | while you're already in here. |
| 330 | Well, sorry to say: that's not supported. | 332 | Well, sorry to say: that's not supported. |
| 331 | If this is a problem for you I'd like to hear about it. It | 333 | If 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 |
